{"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":"a90da224-50db-4ba1-9fab-78fbbc4fa919","catalogType":"api","categories":["data"],"dataPlatform":"formula-1","dataPlatformLogoUrl":"https://api.sh/logos/formula-1.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get Formula 1 Lap Times data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as driver_id, limit, output, and retrieve structured data including championship season year, race round number, grand Prix event name, circuit venue name, and lap number for plot race pace charts, and correlate pace with pit stops.","descriptionTranslations":{"ar":"استرجع بيانات أزمنة اللفات التفصيلية في Formula 1 عبر OpenAny REST لرسم منحنيات السرعة وتحليل تغير أزمنة اللفات ومقارنة أداء السائقين. صف الطلب اختياريا حسب season و round و lap و driver_id مع التصفح لاستلام المركز والزمن لكل لفة مع بيانات الحلبة بصيغة JSON.","ja":"OpenAny REST で Formula 1 のラップ別タイムデータを取得し、ペース推移グラフやラップタイム変化の分析、スティント比較に活用できます。season、round、lap、driver_id とページ指定を組み合わせると、サーキット情報やセッション情報とともに各ラップの順位とタイムを JSON で返します。","zh":"通过 OpenAny REST 获取 Formula 1 逐圈比赛圈速数据，用于绘制配速曲线、分析圈速变化并对比不同车手的赛道表现。支持按 season、round、lap 与 driver_id 筛选并分页，返回包含赛道与赛程信息的逐圈位置和圈速 JSON。"},"effectContentHtml":"","executionMode":"sync","id":"97ea0bfb-f289-46e4-9310-11d829d89465","includedContentHtml":"","inputs":[{"description":"Season year from 1950, or current (default).","location":"query","name":"season","nullable":false,"required":false,"type":"string"},{"description":"Round number in the season, or last (default).","location":"query","name":"round","nullable":false,"required":false,"type":"string"},{"description":"Only this lap.","location":"query","name":"lap","nullable":false,"required":false,"type":"integer"},{"description":"Only this driver (id from `/f1/v1/drivers`).","location":"query","name":"driver_id","nullable":false,"required":false,"type":"string"},{"description":"Rows per page, 1-100 (default 100).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"Row offset (default 0).","location":"query","name":"offset","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 lap times API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eFormula 1 Lap Times API\u003c/h2\u003e\n\u003cp\u003eCall GET with optional season (from 1950 or current), round (round number or last by default), lap (single lap integer), driver_id, limit (1-100, default 100) and offset (default 0). Returned timings[] rows include lap, driver_id, position and time together with race and circuit metadata.\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 season, round (default last), lap (integer), driver_id, limit (1-100, default 100), offset (default 0), 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 lap times 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\u003ePlot race pace charts\u003c/strong\u003e: Filter by season, round and driver_id to graph lap-by-lap times across stints.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCompare drivers on a single lap\u003c/strong\u003e: Pass lap to retrieve every driver\u0026#39;s position and time on that specific lap.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCorrelate pace with pit stops\u003c/strong\u003e: Combine lap timings with the Formula 1 Pit Stops API to study undercuts and out-lap pace.\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\u003eChampionship season year\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eround\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRace round number\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGrand Prix event name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecircuit.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCircuit venue name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotal\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal matching lap timing rows\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_offset\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNext pagination offset, or null\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etimings[].lap\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eLap number\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etimings[].driver_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDriver identifier for the lap\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etimings[].position\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDriver track position on that lap\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etimings[].time\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eFormatted lap time string\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/laps \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode driver_id=max_verstappen \\\n  --data-urlencode limit=1 \\\n  --data-urlencode output=json \\\n  --data-urlencode raw=0 \\\n  --data-urlencode round=1 \\\n  --data-urlencode season=2024\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/97ea0bfb-f289-46e4-9310-11d829d89465\"\u003ePublished Formula 1 Lap Times 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\u003eWhat race is returned if season and round are omitted?\u003c/h3\u003e\n\u003cp\u003eIt defaults to the current season and the last completed round.\u003c/p\u003e\n\u003ch3\u003eHow do I paginate through all laps in a Grand Prix?\u003c/h3\u003e\n\u003cp\u003eUse limit (1 to 100, default 100) and offset (default 0), then pass next_offset on subsequent requests until null.\u003c/p\u003e\n\u003ch3\u003eCan I retrieve lap times for just one driver?\u003c/h3\u003e\n\u003cp\u003eYes. Pass driver_id (from the Formula 1 Drivers API, such as max_verstappen) to narrow timings[] to that driver.\u003c/p\u003e\n\u003ch3\u003eCan I inspect all cars on a single lap?\u003c/h3\u003e\n\u003cp\u003eYes. Set lap to the target lap integer without driver_id to see every car\u0026#39;s time and position on that lap.\u003c/p\u003e\n\u003ch3\u003eDoes the response include circuit and session metadata?\u003c/h3\u003e\n\u003cp\u003eYes. The response includes circuit details and the sessions schedule object alongside timings[].\u003c/p\u003e\n\u003ch3\u003eHow do I avoid cached data right after a race?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1 to bypass the 24-hour cache and raw=0 to omit bulky raw blocks.\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-pit-stops-api\"\u003eFormula 1 Pit Stops API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/formula-1/formula-1-race-results-api\"\u003eFormula 1 Race Results API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/formula-1/formula-1-drivers-api\"\u003eFormula 1 Drivers API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/formula-1/formula-1-lap-times-api?offering=97ea0bfb-f289-46e4-9310-11d829d89465","providerId":"apish","publicPath":"/v1/agent-apis/apish/f1/v1/laps","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"driver_id":"max_verstappen","limit":"1","output":"json","raw":"0","round":"1","season":"2024"}},"response_body":{"applied_filters":{"driver_id":"max_verstappen","lap":null},"cached":false,"circuit":{"circuit_id":"bahrain","country":"Bahrain","lat":26.0325,"lng":50.5106,"locality":"Sakhir","name":"Bahrain International Circuit","wiki":"https://en.wikipedia.org/wiki/Bahrain_International_Circuit"},"count":1,"credits_used":1,"date":"2024-03-02","fetched_at":"2026-11-19T12:21:29.829Z","name":"Bahrain Grand Prix","next_offset":1,"offset":0,"round":1,"season":2024,"sessions":{"first_practice":null,"qualifying":null,"race":"2024-03-02T15:00:00Z","second_practice":null,"sprint":null,"sprint_qualifying":null,"third_practice":null},"start":"2024-03-02T15:00:00Z","time":"15:00:00Z","timings":[{"driver_id":"max_verstappen","lap":1,"position":1,"time":"1:37.284"}],"total":57,"wiki":"https://en.wikipedia.org/wiki/2024_Bahrain_Grand_Prix"}}],"seoDescription":"Get Formula 1 Lap Times data via REST or MCP powered by Apish. Pay per call, no subscription. Get championship season year and race round number in JSON.","updatedAt":"2026-12-03T02:43:25.842Z","usageInstructionsHtml":""}}