Skip to content

bondvit/dexscreener-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Dexscreener API — examples

Runnable examples for the DexScreener Scraper — DEX Pairs, Prices & Token Data on Apify.

Scrape Dexscreener DEX market data — token pairs, USD/native price, liquidity, 24h volume, FDV, market cap across all chains. Search, pair, token and trending-profile modes. Public API, no key. Each record has parse_confidence.

What you get per record

base_token_address · base_token_name · base_token_symbol · chain_id · description · dex_id · fdv · icon_url · liquidity_usd · market_cap · mode · pair_address · pair_created_at · parse_confidence · price_change_24h · price_native · price_usd · query · quote_token_address · quote_token_name · quote_token_symbol · scraped_at · twitter_url · url · volume_24h · warnings · website_url

Quickstart

  1. Get your Apify token: https://console.apify.com/account/integrations
  2. Run a language example below. Both call the actor and print the results.
Example File
Python (apify-client) examples/python/run.py
JavaScript (apify-client) examples/javascript/run.js
Sample output (real records) examples/sample_output.json

Example input

{
  "mode": "search",
  "queries": [
    "PEPE",
    "bitcoin"
  ],
  "pairAddresses": [
    "ethereum/0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852"
  ],
  "maxItems": 100,
  "minLiquidityUsd": 0,
  "minVolumeUsd24h": 0
}

Links


MIT-licensed examples. The actor runs on the caller's Apify account (you pay platform compute + per-result).

About

Runnable Python & JS examples for the DexScreener Scraper on Apify

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors