# Formula 1 driver career API

Get Formula 1 Driver Career 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 canonical driver identifier, driver full name, three-letter broadcast driver code, driver racing number, and driver nationality to power driver profile pages, compare drivers head to head, and trace team histories.

Documentation: https://openany.si/formula-1/formula-1-driver-career-api/69f448d1-6191-47a6-a711-ab7460e6f581/
API ID: 69f448d1-6191-47a6-a711-ab7460e6f581
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/f1/v1/driver
Page update time: 2026-12-03T02:43:27.300Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:43:25.528Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Usage and limits
## Formula 1 Driver Career API

Send GET with the required driver\_id parameter (obtained from the Formula 1 Drivers API, such as hamilton, max\_verstappen or senna). The JSON payload returns driver identity, date\_of\_birth, nationality, career totals, seasons\[\] and constructors\[\].

## What You Can Build

- **Power driver profile pages**: Display biographical fields alongside career.starts, wins, podiums and poles in one API call.
- **Compare drivers head to head**: Fetch multiple driver\_id profiles to chart win rates, podium ratios and longevity across seasons\[\].
- **Trace team histories**: Read constructors\[\] and seasons\[\] to show which teams a driver represented across their career.

## Returned Data

| Field | Meaning |
| --- | --- |
| `driver_id` | Canonical driver identifier |
| `name` | Driver full name |
| `code` | Three-letter broadcast driver code |
| `number` | Driver racing number |
| `nationality` | Driver nationality |
| `career.starts` | Total Grand Prix starts |
| `career.wins` | Total career Grand Prix wins |
| `career.podiums` | Total career podium finishes |
| `career.poles` | Total career pole positions |
| `constructors[].name` | Constructor teams the driver raced for |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Formula 1 driver career API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "driver_id": {
          "type": "string",
          "description": "Driver id (from `/f1/v1/drivers`, e.g. hamilton, max_verstappen, senna)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "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."
        }
      },
      "required": [
        "driver_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "career": {
      "type": "object",
      "properties": {
        "podiums": {
          "type": "integer"
        },
        "poles": {
          "type": "integer"
        },
        "starts": {
          "type": "integer"
        },
        "wins": {
          "type": "integer"
        }
      }
    },
    "code": {
      "type": "string"
    },
    "constructors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "constructor_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nationality": {
            "type": "string"
          },
          "wiki": {
            "type": "string"
          }
        }
      }
    },
    "credits_used": {
      "type": "integer"
    },
    "date_of_birth": {
      "type": "string"
    },
    "driver_id": {
      "type": "string"
    },
    "family_name": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "given_name": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "nationality": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "seasons": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "wiki": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/f1/v1/driver?driver_id=hamilton&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "career": {
    "podiums": 209,
    "poles": 120,
    "starts": 400,
    "wins": 106
  },
  "code": "HAM",
  "constructors": [
    {
      "constructor_id": "ferrari",
      "name": "Ferrari",
      "nationality": "Italian",
      "wiki": "https://en.wikipedia.org/wiki/Scuderia_Ferrari"
    },
    {
      "constructor_id": "mclaren",
      "name": "McLaren",
      "nationality": "British",
      "wiki": "https://en.wikipedia.org/wiki/McLaren"
    },
    {
      "constructor_id": "mercedes",
      "name": "Mercedes",
      "nationality": "German",
      "wiki": "https://en.wikipedia.org/wiki/Mercedes-Benz_in_Formula_One"
    }
  ],
  "credits_used": 1,
  "date_of_birth": "1985-01-07",
  "driver_id": "hamilton",
  "family_name": "Hamilton",
  "fetched_at": "2026-11-19T12:21:32.927Z",
  "given_name": "Lewis",
  "name": "Lewis Hamilton",
  "nationality": "British",
  "number": "44",
  "seasons": [
    2007,
    2008,
    2009,
    2010,
    2011,
    2012,
    2013,
    2014,
    2015,
    2016,
    2017,
    2018,
    2019,
    2020,
    2021,
    2022,
    2023,
    2024,
    2025,
    2026
  ],
  "wiki": "http://en.wikipedia.org/wiki/Lewis_Hamilton"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Where do I find valid driver_id values?
List drivers for any season with the Formula 1 Drivers API and pass the returned driver_id (for example hamilton or max_verstappen).

### What statistics are included inside career?
The career object reports starts, wins, podiums and poles.

### Does the response list all teams the driver has raced for?
Yes. constructors[] contains each constructor's constructor_id, name, nationality and wiki URL.

### Does it include per-race results for the driver?
No. Use the Formula 1 Race Results API with driver_id to retrieve individual Grand Prix finishes.

### Are retired or historical drivers supported?
Yes. Historical Ergast driver identifiers such as senna are supported.

### How do I get updated career totals after a race?
Pass fresh=1 to bypass the 24-hour cache and fetch current totals.

## Available implementations
- apish: https://openany.si/formula-1/formula-1-driver-career-api/69f448d1-6191-47a6-a711-ab7460e6f581/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
