{
  "@context": "https://agentflare.org/schema",
  "type": "Article",
  "tier": "L2-full",
  "title": "Using AgentFlare Social, Predictions and Crypto Data",
  "description": "AgentFlare publishes social, predictions and crypto datasets as paid .data.json files, each priced at 0.01 USD per request. Fetch them with the…",
  "canonical": "https://agentflare.org/guides/using-agentflare-social-predictions-and-crypto-data.html",
  "category": "guides",
  "updated": "2026-11-19",
  "generated_at": "2026-11-19T00:37:01.813Z",
  "facts": [
    {
      "label": "Track",
      "value": "Using AgentFlare data"
    },
    {
      "label": "Level",
      "value": "Beginner"
    },
    {
      "label": "Access",
      "value": "Free / open"
    },
    {
      "label": "Updated",
      "value": "2026-11-19"
    }
  ],
  "data": {
    "topic": "Using AgentFlare Social, Predictions and Crypto Data",
    "track": "data",
    "access": "free",
    "generated_at": "2026-11-19T00:37:01.813Z",
    "difficulty": "Beginner",
    "tldr": "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.",
    "intro": "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.",
    "prerequisites": [
      "A crawler token issued for the AgentFlare publisher",
      "curl or Python with the requests library installed",
      "Basic familiarity with reading JSON"
    ],
    "steps": [
      {
        "title": "Pick the dataset and file URL",
        "body": "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.",
        "code": {
          "lang": "text",
          "text": "https://agentflare.org/social/index.data.json\nhttps://agentflare.org/predictions/index.data.json\nhttps://agentflare.org/predictions/ballon-dor-winner-2026.data.json\nhttps://agentflare.org/crypto/index.data.json\nhttps://agentflare.org/crypto/bitcoin.data.json"
        },
        "sources": [
          "S2",
          "S3",
          "S4"
        ]
      },
      {
        "title": "Send the fetch with the crawler header",
        "body": "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.",
        "code": {
          "lang": "bash",
          "text": "curl -s 'https://agentflare.org/crypto/bitcoin.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  -o bitcoin.data.json"
        },
        "sources": [
          "S1",
          "S5"
        ]
      },
      {
        "title": "Read the social and predictions fields",
        "body": "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.",
        "code": {
          "lang": "bash",
          "text": "curl -s 'https://agentflare.org/social/index.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  | jq '.data.categories[] | {name, stats}'\n\ncurl -s 'https://agentflare.org/predictions/index.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  | jq '.data.events[] | {title, leading, probability}'"
        },
        "sources": [
          "S1",
          "S2",
          "S3"
        ]
      },
      {
        "title": "Open a single prediction event",
        "body": "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.",
        "code": {
          "lang": "bash",
          "text": "curl -s 'https://agentflare.org/predictions/will-jesus-christ-return-before-2027.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  | jq '{event: .data.event, end_date: .data.end_date, markets: [.data.markets[].question]}'"
        },
        "sources": [
          "S1",
          "S3"
        ]
      },
      {
        "title": "Parse crypto data in Python",
        "body": "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.",
        "code": {
          "lang": "python",
          "text": "import requests\n\nurl = 'https://agentflare.org/crypto/index.data.json'\nheaders = {'X-Crawler-Token': 'YOUR_CRAWLER_TOKEN'}\nr = requests.get(url, headers=headers)\nr.raise_for_status()\ndoc = r.json()\n\nfor coin in doc['data']['top']:\n    print(coin['symbol'], coin['price_usd'], coin['change_24h'])\n\nfor t in doc['data']['trending']:\n    print(t['name'], t['rank'])"
        },
        "sources": [
          "S1",
          "S4"
        ]
      }
    ],
    "reference": {
      "title": "Datasets, key fields and price per request",
      "columns": [
        "File",
        "Key data fields",
        "Price per request (USD)"
      ],
      "rows": [
        [
          "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"
        ]
      ],
      "sources": [
        "S2",
        "S3",
        "S4",
        "S5"
      ]
    },
    "pitfalls": [
      {
        "text": "Do not send the crawler token in Authorization: Bearer. That header belongs to the gateway layer; use X-Crawler-Token instead.",
        "source": "S1"
      },
      {
        "text": "Older AISA pages still show X-AISA-Crawler-Token. Copying that name into your client will not match the current header, X-Crawler-Token.",
        "source": "S1"
      },
      {
        "text": "Predictions file shapes differ: match files lack data.leading_history, data.analysis, data.drivers and data.faq, so guard those lookups in code.",
        "source": "S3"
      },
      {
        "text": "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.",
        "source": "S3"
      }
    ],
    "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": [
      {
        "q": "How much does an AgentFlare .data.json request cost?",
        "a": "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."
      },
      {
        "q": "Which header carries the crawler token?",
        "a": "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."
      },
      {
        "q": "What fields does a social file return?",
        "a": "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."
      },
      {
        "q": "Where do I find a coin's price history?",
        "a": "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."
      }
    ],
    "sources": [
      {
        "title": "Header name: X-Crawler-Token",
        "url": "https://esa.aisa.one/cdn/open-verify.html",
        "domain": "esa.aisa.one"
      },
      {
        "title": "AgentFlare Social Pulse .data.json field reference",
        "url": "https://agentflare.org/social/index.html",
        "domain": "agentflare.org"
      },
      {
        "title": "AgentFlare Predictions .data.json field reference",
        "url": "https://agentflare.org/predictions/index.html",
        "domain": "agentflare.org"
      },
      {
        "title": "AgentFlare Crypto .data.json field reference",
        "url": "https://agentflare.org/crypto/index.html",
        "domain": "agentflare.org"
      },
      {
        "title": "AgentFlare pricing.json (directory price map)",
        "url": "https://agentflare.org/pricing.json",
        "domain": "agentflare.org"
      }
    ]
  },
  "analysis_md": "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.\n\nThis 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.\n\n## Before you start\n\n- A crawler token issued for the AgentFlare publisher\n- curl or Python with the requests library installed\n- Basic familiarity with reading JSON\n\n## Step by step\n\n### 1. Pick the dataset and file URL\n\nDeep 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.\n\n```text\nhttps://agentflare.org/social/index.data.json\nhttps://agentflare.org/predictions/index.data.json\nhttps://agentflare.org/predictions/ballon-dor-winner-2026.data.json\nhttps://agentflare.org/crypto/index.data.json\nhttps://agentflare.org/crypto/bitcoin.data.json\n```\n\n### 2. Send the fetch with the crawler header\n\nRequest 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.\n\n```bash\ncurl -s 'https://agentflare.org/crypto/bitcoin.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  -o bitcoin.data.json\n```\n\n### 3. Read the social and predictions fields\n\nEvery 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.\n\n```bash\ncurl -s 'https://agentflare.org/social/index.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  | jq '.data.categories[] | {name, stats}'\n\ncurl -s 'https://agentflare.org/predictions/index.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  | jq '.data.events[] | {title, leading, probability}'\n```\n\n### 4. Open a single prediction event\n\nAn 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.\n\n```bash\ncurl -s 'https://agentflare.org/predictions/will-jesus-christ-return-before-2027.data.json' \\\n  -H 'X-Crawler-Token: YOUR_CRAWLER_TOKEN' \\\n  | jq '{event: .data.event, end_date: .data.end_date, markets: [.data.markets[].question]}'\n```\n\n### 5. Parse crypto data in Python\n\nThe 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.\n\n```python\nimport requests\n\nurl = 'https://agentflare.org/crypto/index.data.json'\nheaders = {'X-Crawler-Token': 'YOUR_CRAWLER_TOKEN'}\nr = requests.get(url, headers=headers)\nr.raise_for_status()\ndoc = r.json()\n\nfor coin in doc['data']['top']:\n    print(coin['symbol'], coin['price_usd'], coin['change_24h'])\n\nfor t in doc['data']['trending']:\n    print(t['name'], t['rank'])\n```\n\n## Datasets, key fields and price per request\n\n| File | Key data fields | Price per request (USD) |\n| --- | --- | --- |\n| social/index.data.json | data.categories[] with id, name, headline, url, stats | 0.01 |\n| predictions/index.data.json | data.count, data.total_volume_usd, data.events[] | 0.01 |\n| predictions/<slug>.data.json (event) | data.event, data.markets[], data.leading_history[], data.faq[] | 0.01 |\n| crypto/index.data.json and crypto/YYYY-MM-DD.data.json | data.total_market_cap_usd, data.top[], data.trending[] | 0.01 |\n| crypto/<slug>.data.json (coin) | data.price_usd, data.change_pct, data.supply, data.history_90d[] | 0.01 |\n| Index pages, .html articles, .md teasers | Free teasers, not the deep payload | free |\n\n## Common pitfalls\n\n- Do not send the crawler token in Authorization: Bearer. That header belongs to the gateway layer; use X-Crawler-Token instead.\n- Older AISA pages still show X-AISA-Crawler-Token. Copying that name into your client will not match the current header, X-Crawler-Token.\n- Predictions file shapes differ: match files lack data.leading_history, data.analysis, data.drivers and data.faq, so guard those lookups in code.\n- 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.\n\n## Key takeaways\n\n- Social, predictions and crypto .data.json files each cost 0.01 USD per request; teasers and index pages stay free.\n- Identify your crawler with X-Crawler-Token, never Authorization: Bearer.\n- All files share one envelope, and the item-specific payload sits under the data object.\n\n## FAQ\n\n**How much does an AgentFlare .data.json request cost?**\nSocial, 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.\n\n**Which header carries the crawler token?**\nUse X-Crawler-Token. It replaces the earlier X-AISA-Crawler-Token name. Do not use Authorization: Bearer, which is reserved for the gateway layer.\n\n**What fields does a social file return?**\nThe 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.\n\n**Where do I find a coin's price history?**\nOpen 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.\n",
  "sources": [
    {
      "title": "Header name: X-Crawler-Token",
      "url": "https://esa.aisa.one/cdn/open-verify.html"
    },
    {
      "title": "AgentFlare Social Pulse .data.json field reference",
      "url": "https://agentflare.org/social/index.html"
    },
    {
      "title": "AgentFlare Predictions .data.json field reference",
      "url": "https://agentflare.org/predictions/index.html"
    },
    {
      "title": "AgentFlare Crypto .data.json field reference",
      "url": "https://agentflare.org/crypto/index.html"
    },
    {
      "title": "AgentFlare pricing.json (directory price map)",
      "url": "https://agentflare.org/pricing.json"
    }
  ],
  "related": [
    {
      "name": "Reading .data.json: A Field Guide for Agents",
      "url": "https://agentflare.org/guides/reading-datajson-a-field-guide-for-agents.html"
    },
    {
      "name": "Using AgentFlare Newswire and Markets Data",
      "url": "https://agentflare.org/guides/using-agentflare-newswire-and-markets-data.html"
    },
    {
      "name": "Using AgentFlare Research and Scholar Data",
      "url": "https://agentflare.org/guides/using-agentflare-research-and-scholar-data.html"
    },
    {
      "name": "Getting Started with HTTP 402 Pay-Per-Crawl",
      "url": "https://agentflare.org/guides/getting-started-with-http-402-pay-per-crawl.html"
    },
    {
      "name": "Crawler Tokens & Auto-Pay: A How-To",
      "url": "https://agentflare.org/guides/crawler-tokens-auto-pay-a-how-to.html"
    },
    {
      "name": "Handling 402 and 403 Responses: An Error Reference for Agents",
      "url": "https://agentflare.org/guides/handling-402-and-403-responses-an-error-reference-for-agents.html"
    }
  ],
  "pricing": {
    "price_usd": 0,
    "method": "402",
    "endpoint": "https://esa.aisa.one/api/v1/access/verify",
    "autopay_hint": "set crawlerAutoPrice=true with the X-Crawler-Token header",
    "onboarding": "https://esa.aisa.one/agent/guide.html"
  },
  "powered_by": "AISA — agent-native search, settlement & delivery (https://aisa.one)"
}