{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"588ce93e-26d7-48a6-9399-a85fefaf7213","catalogType":"api","categories":["data"],"dataPlatform":"formula-1","dataPlatformLogoUrl":"https://api.sh/logos/formula-1.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get Formula 1 Upcoming Races data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as count, output, raw, and retrieve structured data including current championship season year and current UTC reference timestamp to power race countdown widgets, trigger pre-session reminders, and show season progress indicators.","descriptionTranslations":{"ar":"تابع سباق Formula 1 القادم وجدول السباقات المقبلة عبر OpenAny REST لتشغيل عدادات التنازل وبوتات التنبيه وتقاويم البث. استدع الواجهة دون مدخلات إلزامية أو مرر count اختياريا (حتى 30) لاستلام تفاصيل السباق التالي والثواني المتبقية وحالة الحصص وعدد السباقات المتبقية بصيغة JSON.","ja":"OpenAny REST で次の Formula 1 グランプリと今後のレース予定を取得し、カウントダウンウィジェットや通知ボット、放送予定表に活用できます。必須パラメータ不要（任意で count 最大 30）で、開始までの秒数、セッション一覧、残りレース数、今後の予定を JSON で返します。","zh":"通过 OpenAny REST 追踪下一站 Formula 1 大奖赛与后续赛程，用于驱动实时倒计时挂件、赛事提醒机器人和转播日历。无需必填参数或可选传入 count（最多 30），即可获取包含距开赛秒数、有序赛程状态、剩余分站数与后续赛事列表的 JSON。"},"effectContentHtml":"","executionMode":"sync","id":"0d73c382-3d40-46e2-a969-054cdf60c55a","includedContentHtml":"","inputs":[{"description":"How many upcoming races to list (default 30, max 30).","location":"query","name":"count","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/formula-1.png","method":"GET","name":"Formula 1 upcoming races API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eFormula 1 Upcoming Races API\u003c/h2\u003e\n\u003cp\u003eSend GET with no required parameters, or pass count (default 30, max 30) to cap how many upcoming races are listed. The response returns now, races_left, races_total, season_finished, a detailed next_race object with seconds_until_start and session_list[], and upcoming[].\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eGET query: optional count (integer, default 30, max 30), raw=0, fields and fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Formula 1 upcoming races API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003ePower race countdown widgets\u003c/strong\u003e: Read next_race.seconds_until_start and next_race.session_list[] to show live countdowns and started flags.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrigger pre-session reminders\u003c/strong\u003e: Check next_race.session_list[].start and started to schedule notifications for practice, qualifying and race.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eShow season progress indicators\u003c/strong\u003e: Display races_left, races_total and season_finished alongside the upcoming[] race queue.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eseason\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent championship season year\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enow\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent UTC reference timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eraces_left\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNumber of races remaining in the season\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eraces_total\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal races scheduled in the season\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eseason_finished\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBoolean indicating if the season has ended\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_race.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eName of the next scheduled Grand Prix\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_race.round\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRound number of the next Grand Prix\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_race.seconds_until_start\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCountdown in seconds until race start\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_race.circuit.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCircuit venue hosting the next race\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eupcoming[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNames of subsequent upcoming Grands Prix\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/f1/v1/schedule \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode count=5 \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/0d73c382-3d40-46e2-a969-054cdf60c55a\"\u003ePublished Formula 1 Upcoming Races API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eAre any query parameters required?\u003c/h3\u003e\n\u003cp\u003eNo. You can call the endpoint with no filters, or pass count (1 to 30, default 30) to limit upcoming races.\u003c/p\u003e\n\u003ch3\u003eDoes next_race include individual weekend sessions?\u003c/h3\u003e\n\u003cp\u003eYes. next_race provides both session_list[] (with session, start and started flags) and the sessions timestamp map.\u003c/p\u003e\n\u003ch3\u003eHow can my app detect the off-season?\u003c/h3\u003e\n\u003cp\u003eCheck season_finished and races_left to determine whether the current championship calendar has concluded.\u003c/p\u003e\n\u003ch3\u003eHow does this differ from the Formula 1 Season Calendar API?\u003c/h3\u003e\n\u003cp\u003eUpcoming Races focuses on real-time countdowns and future events; Season Calendar returns every round of any season from 1950 onward.\u003c/p\u003e\n\u003ch3\u003eHow do I ensure seconds_until_start is fresh?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to skip the 24-hour cache when computing live countdowns.\u003c/p\u003e\n\u003ch3\u003eCan I trim the response to only next_race?\u003c/h3\u003e\n\u003cp\u003eYes. Pass fields=next_race,now,races_left and raw=0 to reduce payload size.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/formula-1/formula-1-season-calendar-api\"\u003eFormula 1 Season Calendar API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/formula-1/formula-1-news-api\"\u003eFormula 1 News API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/formula-1/formula-1-circuit-directory-api\"\u003eFormula 1 Circuit Directory API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/formula-1/formula-1-upcoming-races-api?offering=0d73c382-3d40-46e2-a969-054cdf60c55a","providerId":"apish","publicPath":"/v1/agent-apis/apish/f1/v1/schedule","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"count":"5","output":"json","raw":"0"}},"response_body":{"cached":false,"count":3,"credits_used":1,"fetched_at":"2026-11-19T12:21:35.662Z","next_race":{"circuit":{"circuit_id":"vegas","country":"USA","lat":36.1147,"lng":-115.173,"locality":"Las Vegas","name":"Las Vegas Strip Street Circuit","wiki":"https://en.wikipedia.org/wiki/Las_Vegas_Grand_Prix#Circuit"},"date":"2026-11-22","name":"Las Vegas Grand Prix","round":21,"season":2026,"seconds_until_start":229104,"session_list":[{"session":"first_practice","start":"2026-11-20T00:30:00Z","started":false},{"session":"second_practice","start":"2026-11-20T04:00:00Z","started":false},{"session":"third_practice","start":"2026-11-21T00:30:00Z","started":false},{"session":"qualifying","start":"2026-11-21T04:00:00Z","started":false},{"session":"race","start":"2026-11-22T04:00:00Z","started":false}],"sessions":{"first_practice":"2026-11-20T00:30:00Z","qualifying":"2026-11-21T04:00:00Z","race":"2026-11-22T04:00:00Z","second_practice":"2026-11-20T04:00:00Z","sprint":null,"sprint_qualifying":null,"third_practice":"2026-11-21T00:30:00Z"},"start":"2026-11-22T04:00:00Z","time":"04:00:00Z","wiki":"https://en.wikipedia.org/wiki/2026_Las_Vegas_Grand_Prix"},"now":"2026-11-19T12:21:35.662Z","races_left":3,"races_total":23,"season":2026,"season_finished":false,"upcoming":[{"circuit":{"circuit_id":"vegas","country":"USA","lat":36.1147,"lng":-115.173,"locality":"Las Vegas","name":"Las Vegas Strip Street Circuit","wiki":"https://en.wikipedia.org/wiki/Las_Vegas_Grand_Prix#Circuit"},"date":"2026-11-22","name":"Las Vegas Grand Prix","round":21,"season":2026,"sessions":{"first_practice":"2026-11-20T00:30:00Z","qualifying":"2026-11-21T04:00:00Z","race":"2026-11-22T04:00:00Z","second_practice":"2026-11-20T04:00:00Z","sprint":null,"sprint_qualifying":null,"third_practice":"2026-11-21T00:30:00Z"},"start":"2026-11-22T04:00:00Z","time":"04:00:00Z","wiki":"https://en.wikipedia.org/wiki/2026_Las_Vegas_Grand_Prix"},{"circuit":{"circuit_id":"losail","country":"Qatar","lat":25.49,"lng":51.4542,"locality":"Lusail","name":"Lusail International Circuit","wiki":"https://en.wikipedia.org/wiki/Lusail_International_Circuit"},"date":"2026-11-29","name":"Qatar Grand Prix","round":22,"season":2026,"sessions":{"first_practice":"2026-11-27T13:30:00Z","qualifying":"2026-11-28T18:00:00Z","race":"2026-11-29T16:00:00Z","second_practice":"2026-11-27T17:00:00Z","sprint":null,"sprint_qualifying":null,"third_practice":"2026-11-28T14:30:00Z"},"start":"2026-11-29T16:00:00Z","time":"16:00:00Z","wiki":"https://en.wikipedia.org/wiki/2026_Qatar_Grand_Prix"},{"circuit":{"circuit_id":"yas_marina","country":"UAE","lat":24.4672,"lng":54.6031,"locality":"Abu Dhabi","name":"Yas Marina Circuit","wiki":"https://en.wikipedia.org/wiki/Yas_Marina_Circuit"},"date":"2026-12-06","name":"Abu Dhabi Grand Prix","round":23,"season":2026,"sessions":{"first_practice":"2026-12-04T09:30:00Z","qualifying":"2026-12-05T14:00:00Z","race":"2026-12-06T13:00:00Z","second_practice":"2026-12-04T13:00:00Z","sprint":null,"sprint_qualifying":null,"third_practice":"2026-12-05T10:30:00Z"},"start":"2026-12-06T13:00:00Z","time":"13:00:00Z","wiki":"https://en.wikipedia.org/wiki/2026_Abu_Dhabi_Grand_Prix"}]}}],"seoDescription":"Get Formula 1 Upcoming Races data via REST or MCP powered by Apish. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:43:26.726Z","usageInstructionsHtml":""}}