{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "agentdata-api-com-api-historical",
  "title": "AgentData \u00b7 Historical Crypto Data",
  "url": "https://agentdata-api.com/api/historical",
  "category": "data",
  "summary": "Retrieve historical cryptocurrency OHLCV data with configurable intervals from 1 minute to 1 day for backtesting and analysis.",
  "seo": {
    "title": "Historical Crypto Market Data API | OHLCV | x402",
    "description": "Historical OHLCV crypto data for AI agents. 16 endpoints, multiple intervals (1m to 1d). 0.005 USDC per call via x402 on Base. MCP compatible."
  },
  "use_cases": [
    "Fetch historical price data for algorithmic backtesting",
    "Build candlestick charts with multiple timeframe options",
    "Analyze volume and price patterns for trading signals",
    "Train machine learning models on historical market data"
  ],
  "ideal_buyer": "Quantitative traders, charting platforms, ML researchers, and trading bot developers needing granular historical crypto data.",
  "example_prompt": "Get 4-hour OHLCV data for BTC-USD for the last 500 candles",
  "example_request_body": {
    "limit": 500,
    "symbol": "BTC-USD",
    "interval": "4h"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap",
    "ratio": 0.25,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x844fedf9651c446bca039b94e6b94a23cb3d6b89",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "5000",
      "max_timeout_seconds": 300,
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyFields": {
            "limit": {
              "type": "integer"
            },
            "symbol": {
              "type": "string",
              "description": "Trading pair"
            },
            "interval": {
              "enum": [
                "1m",
                "5m",
                "15m",
                "30m",
                "1h",
                "4h",
                "1d"
              ],
              "type": "string"
            }
          }
        },
        "output": {
          "data": {},
          "success": true
        }
      }
    }
  ],
  "origin": {
    "slug": "agentdata-api-com",
    "host": "agentdata-api.com",
    "title": "AgentData API \u2014 x402 Crypto Data for AI Agents",
    "description": "Pay-per-request crypto market data API for AI agents. 16 endpoints on Base Mainnet. USDC micropayments via x402 protocol. Works with Claude Desktop, ElizaOS, and any MCP client.",
    "url": "https://agentdata-api.com",
    "og_image": "https://agentdata-api.com/og-image.png",
    "favicon": "https://agentdata-api.com/favicon.svg?v=2"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/agentdata-api-com-api-historical",
    "url": "https://x402all.com/resource/agentdata-api-com-api-historical",
    "name": "AgentData \u00b7 Historical Crypto Data",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/agentdata-api-com-api-historical",
      "@type": "Offer",
      "price": "0.005",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.005000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://agentdata-api.com/api/historical",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/agentdata-api-com",
      "url": "https://agentdata-api.com",
      "name": "AgentData API \u2014 x402 Crypto Data for AI Agents",
      "@type": "Organization"
    },
    "identifier": "agentdata-api-com-api-historical",
    "description": "Historical OHLCV crypto data for AI agents. 16 endpoints, multiple intervals (1m to 1d). 0.005 USDC per call via x402 on Base. MCP compatible.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=agentdata-api-com-api-historical",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "data"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=agentdata-api-com-api-historical"
}
