{
  "name": "RacingPulse",
  "version": "1.0.0",
  "description": "Global horse racing intelligence API — live odds, going conditions, form analysis, arbitrage detection, speed ratings, and betting systems for 35 racecourses across UK, Ireland, Australia, Hong Kong, Japan, France, and USA. All endpoints pay-per-query via x402 micropayments on Base mainnet.",
  "url": "https://racingpulse.vercel.app",
  "provider": {
    "name": "The Aslan Group LLC",
    "email": "info@theaslangroupllc.com"
  },
  "payment": {
    "protocol": "x402",
    "network": "eip155:8453",
    "asset": "USDC",
    "price_per_query": "0.07",
    "description": "Pay $0.07 USDC per query on Base mainnet. No subscription required."
  },
  "capabilities": [
    "horse_racing_arbitrage",
    "going_conditions",
    "form_analysis",
    "speed_ratings",
    "betting_systems",
    "race_trends",
    "track_profiles",
    "betting_calculator"
  ],
  "coverage": {
    "countries": ["UK", "IE", "AU", "HK", "JP", "FR", "US"],
    "tracks": 35,
    "bookmakers": 40
  },
  "endpoints": [
    {
      "path": "/api/scanner",
      "method": "GET",
      "description": "Scan all active horse racing sports for guaranteed-profit arbitrage across 40+ bookmakers",
      "price_usdc": "0.07",
      "params": [{ "name": "regions", "type": "string", "required": false, "default": "uk,au,us,eu" }]
    },
    {
      "path": "/api/arbitrage",
      "method": "GET",
      "description": "Filtered live arbitrage opportunities for a specific racing jurisdiction with Kelly-weighted stake allocations",
      "price_usdc": "0.07",
      "params": [
        { "name": "sport", "type": "string", "required": false, "enum": ["horse_racing_uk", "horse_racing_au", "horse_racing_us", "horse_racing_za"] },
        { "name": "min_profit", "type": "number", "required": false, "description": "Minimum profit % filter" }
      ]
    },
    {
      "path": "/api/card",
      "method": "GET",
      "description": "Complete race card briefing — runners, live odds, going conditions, and meeting news",
      "price_usdc": "0.07",
      "params": [
        { "name": "track", "type": "string", "required": true, "description": "e.g. ascot, cheltenham, flemington" },
        { "name": "date", "type": "string", "required": false, "format": "YYYY-MM-DD" }
      ]
    },
    {
      "path": "/api/going",
      "method": "GET",
      "description": "Live going conditions for 35 racecourses derived from 7-day precipitation data. UK/IE: Firm to Heavy. AU/US/HK/JP: Firm/Good/Soft/Heavy",
      "price_usdc": "0.07",
      "params": [
        { "name": "track", "type": "string", "required": true, "description": "Track name or 'all' for 12-track summary" }
      ]
    },
    {
      "path": "/api/form",
      "method": "GET",
      "description": "Deep horse form analysis — recent runs, going preferences, distance patterns, trainer/jockey statistics",
      "price_usdc": "0.07",
      "params": [
        { "name": "horse", "type": "string", "required": true },
        { "name": "trainer", "type": "string", "required": false }
      ]
    },
    {
      "path": "/api/ratings",
      "method": "GET",
      "description": "Official rating, RPR, Timeform rating, and going-adjusted performance ratings for a horse",
      "price_usdc": "0.07",
      "params": [{ "name": "horse", "type": "string", "required": true }]
    },
    {
      "path": "/api/systems",
      "method": "GET",
      "description": "Statistically-backed betting systems — strike rates, ROI, profitable trainer/jockey combos, draw bias",
      "price_usdc": "0.07",
      "params": [{ "name": "filter", "type": "string", "required": false, "description": "e.g. 'Ascot sprints', 'novice hurdlers', 'flat handicaps'" }]
    },
    {
      "path": "/api/trends",
      "method": "GET",
      "description": "Historical race trends — draw bias, age profile, weight patterns, trainer records, value and fade angles",
      "price_usdc": "0.07",
      "params": [{ "name": "race", "type": "string", "required": true, "description": "e.g. 'Cheltenham Gold Cup', 'Royal Ascot'" }]
    },
    {
      "path": "/api/track",
      "method": "GET",
      "description": "Complete racecourse profile — shape, draw bias, optimal running styles, distance suitability, live going",
      "price_usdc": "0.07",
      "params": [{ "name": "track", "type": "string", "required": true }]
    },
    {
      "path": "/api/calculator",
      "method": "GET",
      "description": "Betting calculator — arbitrage stake allocations (Kelly criterion) or expected value analysis",
      "price_usdc": "0.07",
      "params": [
        { "name": "mode", "type": "string", "required": true, "enum": ["arb", "ev"] },
        { "name": "bankroll", "type": "number", "required": false, "description": "Total bankroll (arb mode)" },
        { "name": "odds", "type": "string", "required": false, "description": "Comma-separated odds e.g. 3.5,2.1 (arb mode)" },
        { "name": "single_odds", "type": "number", "required": false, "description": "Decimal odds (ev mode)" },
        { "name": "true_prob", "type": "number", "required": false, "description": "Estimated win probability 0-1 (ev mode)" },
        { "name": "stake", "type": "number", "required": false, "description": "Stake amount (ev mode)" }
      ]
    }
  ],
  "discovery": {
    "openapi": "https://racingpulse.vercel.app/openapi.json",
    "llms_txt": "https://racingpulse.vercel.app/llms.txt",
    "agent_json": "https://racingpulse.vercel.app/.well-known/agent.json"
  },
  "data_sources": {
    "odds": "The Odds API (40+ bookmakers, live)",
    "weather": "Open-Meteo (free, no auth, 7-day precipitation)",
    "form_trends": "Tavily web search (real-time)",
    "synthesis": "Claude claude-sonnet-4-6"
  },
  "pulse_network": "https://pulsenetwork.vercel.app"
}
