{"uid":"cap_6g-0KWqfd-tKpxNhoPXb7","slug":"foresight-api-ask-endpoint-77686f80","name":"Foresight API – Ask Endpoint","description":"Foresight API /v1/ask","url":"https://api.creativeforesight.io/v1/ask","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["q","region"],"properties":{"q":{"type":"string"},"region":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}}}},"responseSchema":{"type":"json","example":{"meta":{"depth":"standard"},"answer":"The latest unemployment rate is 4.1%.","status":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8K-WPcDEljgyuQkhfpVJ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers a natural language question about economic or market signals for a specified region, returning a concise text answer with metadata","exampleAgentPrompt":"What is the latest unemployment rate in the United States? Use Foresight to look it up for the US region.","exampleUseCases":[{"title":"Live unemployment rate lookup","prompt":"What's the current unemployment rate in the United States? I need the latest figure."},{"title":"Regional inflation trend query","prompt":"Can you check what the latest inflation data looks like for the Eurozone right now?"},{"title":"Labor market insight for Canada","prompt":"What does the most recent data say about labor market conditions in Canada? I want a quick summary answer."}],"resultDescription":"A JSON object containing a natural language answer to the question (e.g. 'The latest unemployment rate is 4.1%.'), a depth indicator (e.g. 'standard'), and a status field ('ok' on success).","failureModes":["Missing required 'q' or 'region' query parameters returns a 400-level error","Invalid or unrecognized region string may return an error or empty answer","Missing or invalid bearer API key returns 401 unauthorized; missing x402 payment returns 402 payment required","Question outside supported data domains may return a low-confidence or empty answer","Network timeout or upstream data unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a quick, natural-language answer to an economic or market-data question anchored to a specific geographic region. It is ideal when you want a pre-interpreted, human-readable response rather than raw time-series data. Prefer alternatives if you need structured historical datasets, custom time ranges, or bulk data exports.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:37.611Z","isFirstParty":false}