Guides · Using AgentFlare data · Beginner
Using AgentFlare Social, Predictions and Crypto Data
AgentFlare publishes social, predictions and crypto datasets as paid .data.json files, each priced at 0.01 USD per request. Fetch them with the X-Crawler-Token header and read fields such as data.categories, data.events and data.top.
You're reading the full report — free for humans. The machine-readable dataset for this section is open to all agents too — no payment required.
https://esa.aisa.one/api/v1/access/verify
This guide is for developers and agent builders who want structured social, prediction-market and crypto data from AgentFlare. You will learn how the three directories are laid out and what each .data.json file contains field by field. You will also see the per-request price and run a fetch that sends the crawler identity header and reads fields from the response. By the end you can pick the right file URL, call it, and pull the numbers you need into a script or agent.
How the flow works
Before you start
- A crawler token issued for the AgentFlare publisher
- curl or Python with the requests library installed
- Basic familiarity with reading JSON
Step by step
Pick the dataset and file URL
Deep data lives in three directories: /social/, /predictions/ and /crypto/. Each has an index.data.json plus one file per item. Predictions slugs look like ballon-dor-winner-2026.data.json, and dated match files look like atp-fokina-tiafoe-YYYY-MM-DD.data.json. Crypto has YYYY-MM-DD.data.json for daily files and coin slugs such as bitcoin.data.json or zcash.data.json. Social items follow social/<slug>.data.json.
text https://agentflare.org/social/index.data.json https://agentflare.org/predictions/index.data.json https://agentflare.org/predictions/ballon-dor-winner-2026.data.json https://agentflare.org/crypto/index.data.json https://agentflare.org/crypto/bitcoin.data.jsonSend the fetch with the crawler header
Request the file and put your token in X-Crawler-Token. This name replaces the earlier X-AISA-Crawler-Token that older AISA pages still show. Never put the token in Authorization: Bearer, which is reserved for the gateway layer. Each .data.json request is metered at 0.01 USD for social, predictions and crypto, while index pages, .html and .md teasers stay free.
bash curl -s 'https://agentflare.org/crypto/bitcoin.data.json' \ -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \ -o bitcoin.data.jsonRead the social and predictions fields
Every file shares an envelope: @context, type, tier, title, description, canonical, category, updated, generated_at, analysis_md, related, pricing and powered_by. The social index puts its payload in data.categories[], each with id, name, headline, url and stats (posts, likes, views, medLikes, verified). The predictions index lists data.events[] with title, slug, leading, probability, change_pp_30d and volume_usd.
bash curl -s 'https://agentflare.org/social/index.data.json' \ -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \ | jq '.data.categories[] | {name, stats}' curl -s 'https://agentflare.org/predictions/index.data.json' \ -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \ | jq '.data.events[] | {title, leading, probability}'Open a single prediction event
An event file such as will-jesus-christ-return-before-2027.data.json carries data.event, data.slug, data.volume_usd, data.volume_24h_usd, data.end_date and data.markets[] with question, odds[] and volume_usd. That file also adds data.leading_history[] (t, v), data.analysis[] (h, body), data.drivers, data.faq[] and data.tags. Match files like atp-fokina-tiafoe-YYYY-MM-DD.data.json hold the event, markets and tags without the history and FAQ blocks.
bash curl -s 'https://agentflare.org/predictions/will-jesus-christ-return-before-2027.data.json' \ -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \ | jq '{event: .data.event, end_date: .data.end_date, markets: [.data.markets[].question]}'Parse crypto data in Python
The crypto index and the dated files expose data.total_market_cap_usd, data.coin_count, data.advancers_24h, data.stablecoin_share_pct, data.top[] and data.trending[]. Each top entry has id, symbol, price_usd, change_24h, change_7d and market_cap_usd. Coin files such as zcash.data.json add price, supply, ath_usd, atl_usd, history_90d, analysis, faq and newswire.
python import requests url = 'https://agentflare.org/crypto/index.data.json' headers = {'X-Crawler-Token': 'YOUR_CRAWLER_TOKEN'} r = requests.get(url, headers=headers) r.raise_for_status() doc = r.json() for coin in doc['data']['top']: print(coin['symbol'], coin['price_usd'], coin['change_24h']) for t in doc['data']['trending']: print(t['name'], t['rank'])
Datasets, key fields and price per request
| File | Key data fields | Price per request (USD) |
|---|---|---|
social/index.data.json | data.categories[] with id, name, headline, url, stats | 0.01 |
predictions/index.data.json | data.count, data.total_volume_usd, data.events[] | 0.01 |
predictions/<slug>.data.json (event) | data.event, data.markets[], data.leading_history[], data.faq[] | 0.01 |
crypto/index.data.json and crypto/YYYY-MM-DD.data.json | data.total_market_cap_usd, data.top[], data.trending[] | 0.01 |
crypto/<slug>.data.json (coin) | data.price_usd, data.change_pct, data.supply, data.history_90d[] | 0.01 |
Index pages, .html articles, .md teasers | Free teasers, not the deep payload | free |
Common pitfalls
- Do not send the crawler token in Authorization: Bearer. That header belongs to the gateway layer; use X-Crawler-Token instead.
- Older AISA pages still show X-AISA-Crawler-Token. Copying that name into your client will not match the current header, X-Crawler-Token.
- Predictions file shapes differ: match files lack data.leading_history, data.analysis, data.drivers and data.faq, so guard those lookups in code.
- Replace YYYY-MM-DD in dated slugs such as atp-fokina-tiafoe-YYYY-MM-DD.data.json with a real date, or the URL is only a naming pattern.
Key takeaways
- Social, predictions and crypto .data.json files each cost 0.01 USD per request; teasers and index pages stay free.
- Identify your crawler with X-Crawler-Token, never Authorization: Bearer.
- All files share one envelope, and the item-specific payload sits under the data object.
FAQ
How much does an AgentFlare .data.json request cost?
Social, predictions and crypto each cost 0.01 USD per request, billed per-request on files ending in .data.json or .full.md. Index pages, .html articles and .md teasers are free.
Which header carries the crawler token?
Use X-Crawler-Token. It replaces the earlier X-AISA-Crawler-Token name. Do not use Authorization: Bearer, which is reserved for the gateway layer.
What fields does a social file return?
The social index returns data.categories[] with id, name, headline, url and stats. The stats object holds posts, likes, views, medLikes and verified, alongside the standard envelope fields.
Where do I find a coin's price history?
Open the coin file, for example crypto/zcash.data.json. It has data.history_90d[] with date and price, plus data.change_pct for h24, d7, d30 and d90.
How this page is made. Written from 5 primary sources — the AISA agent and publisher documentation and AgentFlare's own files (pricing.json, robots.txt, llms.txt, live responses, .data.json field lists). Each step links the sources it relies on; steps naming a header, endpoint, error code or figure that the sources do not contain are removed. Refreshed weekly.
Sources & citations
- Header name: X-Crawler-Token esa.aisa.one
- AgentFlare Social Pulse .data.json field reference agentflare.org
- AgentFlare Predictions .data.json field reference agentflare.org
- AgentFlare Crypto .data.json field reference agentflare.org
- AgentFlare pricing.json (directory price map) agentflare.org