OpenAny
Get API keyAPI Key
APIData

formula-1 logo
Formula 1 Seasons API

Get Formula 1 Seasons data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as driver_id, output, raw, and retrieve structured data including championship season year to populate valid season dropdowns, audit circuit hosting history, and check team or driver overlap, ready for production pipelines and AI agent automation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Formula 1 Seasons 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 Seasons API

Formula 1 Seasons API

Query GET with optional driver_id (such as max_verstappen), constructor_id (such as ferrari), circuit_id (such as monza), limit (default 100, max 100) and offset (default 0). Returned seasons[] entries expose season year and wiki URL alongside total, count and next_offset.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs GET query: optional driver_id, constructor_id, circuit_id, limit (default 100, max 100), offset (default 0), raw=0, fields and fresh=1.
Selected implementation apish · Formula 1 seasons API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Populate valid season dropdowns: Fetch all seasons for a driver, constructor or circuit before querying race results.
  • Audit circuit hosting history: Pass circuit_id=monza or silverstone to list every championship year hosted at that track.
  • Check team or driver overlap: Combine driver_id and constructor_id to find the exact seasons a driver raced for a team.

Returned Data

Field Meaning
total Total matching seasons across all pages
count Number of seasons returned in this page
offset Row offset applied to the query
next_offset Next pagination offset, or null
applied_filters.driver_id Driver filter echoed by the API
seasons[].season Championship season year
seasons[].wiki Wikipedia reference URL for the season
cached Whether the response came from cache

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/seasons \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode driver_id=max_verstappen \
  --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 Seasons 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 (10)
Only seasons this driver raced (Ergast id like max_verstappen, or the name).
Only seasons this team raced (e.g. ferrari, red_bull).
Only seasons with a race at this circuit (e.g. monza).
Rows per page (default 100, max 100).
Rows to skip (default 0).
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 seasons API · GET · View API reference
$0.002 / billing credit1
100.00%successP502.91s
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/seasons
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
driver_idURL query parametersquerystringNo

Only seasons this driver raced (Ergast id like max_verstappen, or the name).

constructor_idURL query parametersquerystringNo

Only seasons this team raced (e.g. ferrari, red_bull).

circuit_idURL query parametersquerystringNo

Only seasons with a race at this circuit (e.g. monza).

limitURL query parametersqueryintegerNo

Rows per page (default 100, max 100).

offsetURL query parametersqueryintegerNo

Rows to skip (default 0).

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
  • applied_filtersobject
    • circuit_idnull
    • constructor_idnull
    • driver_idstring
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • next_offsetnull
  • offsetinteger
  • seasonsobject[]
    • seasoninteger
    • wikistring
  • totalinteger

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 recording · HTTP 200

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 10

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

    driver_id
    Only seasons this driver raced (Ergast id like max_verstappen, or the name).
    constructor_id
    Only seasons this team raced (e.g. ferrari, red_bull).
    circuit_id
    Only seasons with a race at this circuit (e.g. monza).
    limit
    Rows per page (default 100, max 100).
    offset
    Rows to skip (default 0).
    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/seasons?driver_id=max_verstappen&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
    {
      "applied_filters": {
        "circuit_id": null,
        "constructor_id": null,
        "driver_id": "max_verstappen"
      },
      "cached": false,
      "count": 12,
      "credits_used": 1,
      "fetched_at": "2026-11-19T09:21:36.890Z",
      "next_offset": null,
      "offset": 0,
      "seasons": [
        {
          "season": 2015,
          "wiki": "https://en.wikipedia.org/wiki/2015_Formula_One_World_Championship"
        },
        {
          "season": 2016,
          "wiki": "https://en.wikipedia.org/wiki/2016_Formula_One_World_Championship"
        },
        {
          "season": 2017,
          "wiki": "https://en.wikipedia.org/wiki/2017_Formula_One_World_Championship"
        },
        {
          "season": 2018,
          "wiki": "https://en.wikipedia.org/wiki/2018_Formula_One_World_Championship"
        },
        {
          "season": 2019,
          "wiki": "https://en.wikipedia.org/wiki/2019_Formula_One_World_Championship"
        },
        {
          "season": 2020,
          "wiki": "https://en.wikipedia.org/wiki/2020_Formula_One_World_Championship"
        },
        {
          "season": 2021,
          "wiki": "https://en.wikipedia.org/wiki/2021_Formula_One_World_Championship"
        },
        {
          "season": 2022,
          "wiki": "https://en.wikipedia.org/wiki/2022_Formula_One_World_Championship"
        },
        {
          "season": 2023,
          "wiki": "https://en.wikipedia.org/wiki/2023_Formula_One_World_Championship"
        },
        {
          "season": 2024,
          "wiki": "https://en.wikipedia.org/wiki/2024_Formula_One_World_Championship"
        },
        {
          "season": 2025,
          "wiki": "https://en.wikipedia.org/wiki/2025_Formula_One_World_Championship"
        },
        {
          "season": 2026,
          "wiki": "https://en.wikipedia.org/wiki/2026_Formula_One_World_Championship"
        }
      ],
      "total": 12
    }

Common questions

Can I list every Formula 1 season without any filters?

Yes. All filter parameters are optional; omitting them lists championship seasons from 1950 onward.

Can I combine driver_id, constructor_id and circuit_id?

Yes. Filters narrow the returned seasons[] list, and applied_filters echoes the active constraints.

How do I paginate if more than 100 rows exist?

Use limit (default 100, max 100) and offset (default 0), passing next_offset back until it is null.

Does this endpoint return the race calendar inside each season?

No. Pass a returned season year to the Formula 1 Season Calendar API to retrieve its rounds.

Are driver names accepted in addition to Ergast IDs?

The contract notes driver_id accepts an Ergast ID like max_verstappen or the driver name.

How do caching and compact output work?

Pass fresh=1 to bypass the 24-hour cache and raw=0 to omit bulky raw source blocks.

Use Formula 1 Seasons API with your agent

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