Build a coin page with details

A page in your app that shows one coin's rank, mention counts and a small chart.

You need: an API key (opens in a new tab) and a page template in your app.

  1. Get an API key

    Create a key on the API keys (opens in a new tab) page and keep it in an environment variable, not in your code. Each request uses credits.

    The API keys page
  2. Find the coin once

    Search by name, symbol or slug with search_cryptos and save the identifier in your database.

  3. Get its details

    Call get_crypto_details to get its rank and mention counts. Show them at the top of the page.

    An example request to the API
  4. Add a small chart

    Call get_chart_data with kind mentions and 30 days and draw a line. Link to the coin page on AssetFeed.

  • What you will see

    A coin page with its rank, mention counts and a 30-day mention chart.

  • Data used

    search_cryptos, get_crypto_details and get_chart_data through the API (opens in a new tab).

  • Limits

    • Cache the answers, they change once a day.
    • Prices are not part of this page.