OpenAny
Get API keyAPI Key
APIData

formula-1 logo
Formula 1 Upcoming Races API

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.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Formula 1 Upcoming Races API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Formula 1 Upcoming Races API

Formula 1 Upcoming Races API

Send 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[].

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs GET query: optional count (integer, default 30, max 30), raw=0, fields and fresh=1.
Selected implementation apish · Formula 1 upcoming races API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Power race countdown widgets: Read next_race.seconds_until_start and next_race.session_list[] to show live countdowns and started flags.
  • Trigger pre-session reminders: Check next_race.session_list[].start and started to schedule notifications for practice, qualifying and race.
  • Show season progress indicators: Display races_left, races_total and season_finished alongside the upcoming[] race queue.

Returned Data

Field Meaning
season Current championship season year
now Current UTC reference timestamp
races_left Number of races remaining in the season
races_total Total races scheduled in the season
season_finished Boolean indicating if the season has ended
next_race.name Name of the next scheduled Grand Prix
next_race.round Round number of the next Grand Prix
next_race.seconds_until_start Countdown in seconds until race start
next_race.circuit.name Circuit venue hosting the next race
upcoming[].name Names of subsequent upcoming Grands Prix

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/f1/v1/schedule \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode count=5 \
  --data-urlencode output=json \
  --data-urlencode raw=0

Request and Response Examples

The 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.

Published Formula 1 Upcoming Races API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (6)
How many upcoming races to list (default 30, max 30).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Formula 1 upcoming races API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/f1/v1/schedule
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
countURL query parametersqueryintegerNo

How many upcoming races to list (default 30, max 30).

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • next_raceobject
    • circuitobject
      • circuit_idstring
      • countrystring
      • latnumber
      • lngnumber
      • localitystring
      • namestring
      • wikistring
    • datestring
    • namestring
    • roundinteger
    • seasoninteger
    • seconds_until_startinteger
    • session_listobject[]
      • sessionstring
      • startstring
      • startedboolean
    • sessionsobject
      • first_practicestring
      • qualifyingstring
      • racestring
      • second_practicestring
      • sprintnull
      • sprint_qualifyingnull
      • third_practicestring
    • startstring
    • timestring
    • wikistring
  • nowstring
  • races_leftinteger
  • races_totalinteger
  • seasoninteger
  • season_finishedboolean
  • upcomingobject[]
    • circuitobject
      • circuit_idstring
      • countrystring
      • latnumber
      • lngnumber
      • localitystring
      • namestring
      • wikistring
    • datestring
    • namestring
    • roundinteger
    • seasoninteger
    • sessionsobject
      • first_practicestring
      • qualifyingstring
      • racestring
      • second_practicestring
      • sprintnull
      • sprint_qualifyingnull
      • third_practicestring
    • startstring
    • timestring
    • wikistring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH response · Minimal request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 6

    Review these request fields before running. Keep the published provider and request method unchanged.

    count
    How many upcoming races to list (default 30, max 30).
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/f1/v1/schedule?count=5&output=json&raw=0' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "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"
        }
      ]
    }

Common questions

Are any query parameters required?

No. You can call the endpoint with no filters, or pass count (1 to 30, default 30) to limit upcoming races.

Does next_race include individual weekend sessions?

Yes. next_race provides both session_list[] (with session, start and started flags) and the sessions timestamp map.

How can my app detect the off-season?

Check season_finished and races_left to determine whether the current championship calendar has concluded.

How does this differ from the Formula 1 Season Calendar API?

Upcoming Races focuses on real-time countdowns and future events; Season Calendar returns every round of any season from 1950 onward.

How do I ensure seconds_until_start is fresh?

Pass fresh=1 to skip the 24-hour cache when computing live countdowns.

Can I trim the response to only next_race?

Yes. Pass fields=next_race,now,races_left and raw=0 to reduce payload size.

Use Formula 1 Upcoming Races API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.