{"openapi":"3.1.0","info":{"title":"DF Market Intelligence","version":"1.0.0","description":"Fresh, agent-ready market intelligence paid per call over x402 (USDC on Base): SEC insider trades and cluster buying, Polymarket + Kalshi prediction-market probabilities and movers, a 24-indicator US macro dashboard with release calendar, and intelligence on the x402 agent economy itself (service rankings, trends, pricing, and a usage-ranked search to find the right paid API for a task). No API key, no signup."},"servers":[{"url":"https://df-data-agent.vercel.app"}],"paths":{"/api/v1/insider/latest":{"get":{"operationId":"insiderLatest","summary":"Latest insider trades","description":"Most recent SEC Form 4 insider transactions (US stocks), parsed to clean JSON within minutes of filing. Filter by type (P=open-market buy, S=sale) and minimum dollar value.\n\nPrice: $0.01 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["insider"],"parameters":[{"name":"type","in":"query","required":false,"description":"Form 4 transaction code: P (buy), S (sale), A (grant), M (option exercise)…","schema":{"type":"string"},"example":"P"},{"name":"min_value","in":"query","required":false,"description":"Minimum transaction value in USD","schema":{"type":"integer"},"example":100000},{"name":"limit","in":"query","required":false,"description":"1-100, default 50","schema":{"type":"integer"},"example":50}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.01","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"count":1,"trades":[{"ticker":"ACME","issuer_name":"Acme Corp","insider_name":"Doe Jane","insider_title":"Chief Executive Officer","tx_date":"2026-10-14","tx_code":"P","tx_type":"Open-market purchase","shares":10000,"price":42.5,"value_usd":425000,"shares_after":250000,"filing_url":"https://www.sec.gov/Archives/edgar/data/…-index.htm"}]},"meta":{"endpoint":"/api/v1/insider/latest","price":"$0.01"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"type":"P","min_value":100000,"limit":50}}},"/api/v1/insider/ticker":{"get":{"operationId":"insiderTicker","summary":"Insider activity for a stock","description":"All insider buys and sells for one ticker over a window, with a summary: buy vs sell dollar value, distinct buyers/sellers and a net_buying / net_selling signal.\n\nPrice: $0.02 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["insider"],"parameters":[{"name":"symbol","in":"query","required":true,"description":"Stock ticker","schema":{"type":"string"},"example":"AAPL"},{"name":"days","in":"query","required":false,"description":"Look-back window, 1-730, default 180","schema":{"type":"integer"},"example":180}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"symbol":"ACME","days":180,"summary":{"open_market_buys":3,"open_market_sells":1,"buy_value_usd":1200000,"sell_value_usd":200000,"net_value_usd":1000000,"distinct_buyers":3,"distinct_sellers":1,"signal":"net_buying"},"trades":[{"ticker":"ACME","issuer_name":"Acme Corp","insider_name":"Doe Jane","insider_title":"Chief Executive Officer","tx_date":"2026-10-14","tx_code":"P","tx_type":"Open-market purchase","shares":10000,"price":42.5,"value_usd":425000,"shares_after":250000,"filing_url":"https://www.sec.gov/Archives/edgar/data/…-index.htm"}]},"meta":{"endpoint":"/api/v1/insider/ticker","price":"$0.02"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"symbol":"AAPL","days":180}}},"/api/v1/insider/clusters":{"get":{"operationId":"insiderClusters","summary":"Insider cluster buying","description":"Stocks where several different insiders bought shares on the open market in the same window — one of the strongest public insider signals. Ranked by number of insiders and dollar value.\n\nPrice: $0.05 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["insider"],"parameters":[{"name":"days","in":"query","required":false,"description":"Window in days, 1-90, default 14","schema":{"type":"integer"},"example":14},{"name":"min_insiders","in":"query","required":false,"description":"Minimum distinct buyers, 2-10, default 2","schema":{"type":"integer"},"example":2}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.05","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"days":14,"min_insiders":2,"count":1,"clusters":[{"ticker":"ACME","issuer_name":"Acme Corp","insiders":3,"total_value_usd":1200000,"first_buy":"2026-10-06","last_buy":"2026-10-14","buyers":[{"name":"Doe Jane","title":"CEO","value_usd":800000}]}]},"meta":{"endpoint":"/api/v1/insider/clusters","price":"$0.05"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"days":14,"min_insiders":2}}},"/api/v1/predictions/top":{"get":{"operationId":"predictionsTop","summary":"Top prediction markets","description":"Highest-volume live prediction markets across Polymarket and Kalshi with implied probabilities, 24h change, volume and close time. Refreshed every 15 minutes.\n\nPrice: $0.005 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["predictions"],"parameters":[{"name":"source","in":"query","required":false,"description":"Optional: polymarket or kalshi","schema":{"type":"string","enum":["polymarket","kalshi"]}},{"name":"limit","in":"query","required":false,"description":"1-100, default 25","schema":{"type":"integer"},"example":25}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"count":1,"markets":[{"id":"polymarket:123","source":"polymarket","question":"Will the Fed cut rates in December?","yes_price":0.63,"change_24h":0.04,"volume_24h":1250000,"closes_at":"2026-12-10T19:00:00Z","url":"https://polymarket.com/event/…"}]},"meta":{"endpoint":"/api/v1/predictions/top","price":"$0.005"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"limit":25}}},"/api/v1/predictions/search":{"get":{"operationId":"predictionsSearch","summary":"Search prediction markets","description":"Find the market-implied probability of any event (elections, Fed decisions, sports, crypto, geopolitics) across Polymarket and Kalshi by keyword.\n\nPrice: $0.01 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["predictions"],"parameters":[{"name":"q","in":"query","required":true,"description":"Keywords, e.g. 'fed december' or 'bitcoin 150k'","schema":{"type":"string"},"example":"fed rate"},{"name":"limit","in":"query","required":false,"description":"1-100, default 25","schema":{"type":"integer"},"example":25}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.01","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"query":"fed rate","count":1,"markets":[{"id":"polymarket:123","source":"polymarket","question":"Will the Fed cut rates in December?","yes_price":0.63,"change_24h":0.04,"volume_24h":1250000,"closes_at":"2026-12-10T19:00:00Z","url":"https://polymarket.com/event/…"}]},"meta":{"endpoint":"/api/v1/predictions/search","price":"$0.01"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"q":"fed rate","limit":25}}},"/api/v1/predictions/movers":{"get":{"operationId":"predictionsMovers","summary":"Prediction market movers","description":"Markets whose implied probability moved the most in the last 24h — what the crowd suddenly changed its mind about. Filtered by minimum volume.\n\nPrice: $0.01 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["predictions"],"parameters":[{"name":"min_volume","in":"query","required":false,"description":"Minimum 24h volume in USD, default 10000","schema":{"type":"integer"},"example":10000},{"name":"limit","in":"query","required":false,"description":"1-100, default 25","schema":{"type":"integer"},"example":25}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.01","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"min_volume":10000,"count":1,"markets":[{"id":"polymarket:123","source":"polymarket","question":"Will the Fed cut rates in December?","yes_price":0.63,"change_24h":0.04,"volume_24h":1250000,"closes_at":"2026-12-10T19:00:00Z","url":"https://polymarket.com/event/…"}]},"meta":{"endpoint":"/api/v1/predictions/movers","price":"$0.01"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"min_volume":10000,"limit":25}}},"/api/v1/macro/latest":{"get":{"operationId":"macroLatest","summary":"US macro dashboard","description":"Latest value, change and year-over-year % for 24 key US indicators: CPI, core CPI, PCE, payrolls, unemployment, jobless claims, Fed funds, 2y/10y/30y yields, curve, mortgages, GDP, M2, Fed balance sheet, dollar index.\n\nPrice: $0.01 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["macro"],"parameters":[],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.01","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"count":1,"series":[{"series_id":"CPIAUCSL","title":"Consumer Price Index…","latest_date":"2026-09-01","latest_value":330.1,"change_pct":0.3,"yoy_pct":2.9}]},"meta":{"endpoint":"/api/v1/macro/latest","price":"$0.01"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{}}},"/api/v1/macro/series":{"get":{"operationId":"macroSeries","summary":"Macro time series","description":"History (up to ~260 observations) plus summary stats for one US macro series by FRED id.\n\nPrice: $0.005 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["macro"],"parameters":[{"name":"id","in":"query","required":true,"description":"FRED series id, e.g. CPIAUCSL, UNRATE, DGS10","schema":{"type":"string"},"example":"CPIAUCSL"}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"series_id":"UNRATE","title":"Unemployment Rate","latest_value":4.2,"observations":[{"date":"2026-09-01","value":4.2}]},"meta":{"endpoint":"/api/v1/macro/series","price":"$0.005"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"id":"CPIAUCSL"}}},"/api/v1/macro/calendar":{"get":{"operationId":"macroCalendar","summary":"Economic release calendar","description":"Upcoming US economic data releases (CPI, jobs report, GDP, etc.) for the next N days.\n\nPrice: $0.005 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["macro"],"parameters":[{"name":"days","in":"query","required":false,"description":"1-45, default 14","schema":{"type":"integer"},"example":14}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"from":"2026-10-16","to":"2026-10-30","count":1,"releases":[{"release_id":10,"release_name":"Consumer Price Index","release_date":"2026-10-22"}]},"meta":{"endpoint":"/api/v1/macro/calendar","price":"$0.005"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"days":14}}},"/api/v1/x402/overview":{"get":{"operationId":"x402Overview","summary":"x402 agent-economy overview","description":"State of the x402 agent economy from the full Bazaar catalogue: services, endpoints, 30-day paid calls, estimated USDC volume, demand by category, network mix, top services, and how much volume comes from a handful of wallets (concentrated / likely self-traffic). Refreshed every cycle.\n\nPrice: $0.01 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["x402"],"parameters":[],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.01","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"as_of":"2026-10-16T18:00:00Z","totals":{"resources":43883,"services":1150,"calls_30d":2400000,"est_volume_30d_usd":41000,"services_active_7d":410,"concentrated_services":37},"by_category":{"market_data":{"services":120,"calls_30d":310000,"est_revenue_30d_usd":6100}},"top_services":[{"service_name":"Example API","host":"api.example.com","category":"search_scrape","calls_30d":345851,"payers_30d_max":3093}]},"meta":{"endpoint":"/api/v1/x402/overview","price":"$0.01"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{}}},"/api/v1/x402/services":{"get":{"operationId":"x402Services","summary":"x402 service rankings","description":"Ranked x402 services (by 30-day calls, unique payers or estimated revenue) with endpoint count, median price, networks and a concentration flag that filters out services whose volume comes from fewer than 5 wallets. Filter by category.\n\nPrice: $0.01 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["x402"],"parameters":[{"name":"sort","in":"query","required":false,"description":"calls (default), payers or revenue","schema":{"type":"string","enum":["calls","payers","revenue"]}},{"name":"category","in":"query","required":false,"description":"ai_inference, trading_defi, onchain_data, market_data, search_scrape, social, media, infra, travel, other","schema":{"type":"string"}},{"name":"include_concentrated","in":"query","required":false,"description":"true to include services with volume from <5 wallets","schema":{"type":"string","enum":["true","false"]}},{"name":"limit","in":"query","required":false,"description":"1-200, default 50","schema":{"type":"integer"},"example":50}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.01","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"sort":"calls","count":1,"services":[{"host":"api.example.com","service_name":"Example API","category":"market_data","calls_30d":21857,"payers_30d_max":6032,"est_revenue_30d_usd":218.57,"median_price_usd":0.01,"concentrated":false}]},"meta":{"endpoint":"/api/v1/x402/services","price":"$0.01"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"limit":50}}},"/api/v1/x402/search":{"get":{"operationId":"x402Search","summary":"Find a paid API for a task","description":"Agents: describe what you need ('weather forecast', 'token price', 'transcribe audio') and get matching x402 endpoints ranked by real usage, with price, method, network and recent activity. Decoy/honeypot endpoints (≥$1000) are excluded.\n\nPrice: $0.005 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["x402"],"parameters":[{"name":"q","in":"query","required":true,"description":"What you need, 2-80 chars","schema":{"type":"string"},"example":"weather forecast"},{"name":"max_price","in":"query","required":false,"description":"Maximum price per call in USD, e.g. 0.01","schema":{"type":"string"},"example":"0.05"},{"name":"category","in":"query","required":false,"description":"Optional category filter (see /api/v1/x402/overview)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"1-100, default 20","schema":{"type":"integer"},"example":20}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"query":"weather forecast","count":1,"resources":[{"resource":"https://api.example.com/weather","service_name":"Example Weather","method":"GET","price_usd":0.002,"calls_30d":5120,"payers_30d":88}]},"meta":{"endpoint":"/api/v1/x402/search","price":"$0.005"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"q":"weather forecast","max_price":"0.05","limit":20}}},"/api/v1/x402/trending":{"get":{"operationId":"x402Trending","summary":"Trending x402 services","description":"Which x402 services gained or lost the most paid calls versus N days ago, plus new entrants — built from our daily snapshots of the whole catalogue.\n\nPrice: $0.02 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["x402"],"parameters":[{"name":"days","in":"query","required":false,"description":"Compare with N days ago, 1-90, default 7","schema":{"type":"integer"},"example":7},{"name":"limit","in":"query","required":false,"description":"1-100, default 20","schema":{"type":"integer"},"example":20}],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"as_of":"2026-10-23","compared_to":"2026-10-16","gainers":[{"host":"api.example.com","calls_30d":9000,"calls_30d_before":4000,"calls_change":5000,"calls_change_pct":125}],"decliners":[],"new_entrants":[]},"meta":{"endpoint":"/api/v1/x402/trending","price":"$0.02"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{"days":7,"limit":20}}},"/api/v1/x402/pricing":{"get":{"operationId":"x402Pricing","summary":"x402 price benchmarks","description":"What paid agent APIs cost, per category: 25th/50th/75th percentile price, free share, and the median price of endpoints that actually get paid calls. For sellers setting prices and buyers checking value.\n\nPrice: $0.01 USDC per call via x402 (eip155:8453). Call without payment to receive HTTP 402 with payment requirements.","tags":["x402"],"parameters":[],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.01","asset":"USDC","network":"eip155:8453","payTo":"0x6641acBd22Fe9a2285be51a2fAb6cF2339912C6D"},"responses":{"200":{"description":"Paid response","content":{"application/json":{"example":{"data":{"all":{"endpoints":40000,"p25_usd":0.001,"median_usd":0.01,"p75_usd":0.05,"median_usd_of_used_endpoints":0.005},"by_category":{"market_data":{"median_usd":0.01}}},"meta":{"endpoint":"/api/v1/x402/pricing","price":"$0.01"}}}}},"400":{"description":"Invalid input — rejected before payment, never charged"},"402":{"description":"Payment required (x402). The PAYMENT-REQUIRED header describes price, asset, network and payTo."}},"x-example-request":{}}}}}