> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://infonite.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://infonite.dev/_mcp/server.

# Driver data

GET https://clients.infonite.tech/api/executions/results/{execution_id}/public/v1/driver/data

Your customer's driving record, from the Spanish traffic authority (DGT).

The licences they hold, their points balance and how that balance has moved. A core signal for mobility, insurance and fleet onboarding. Field by field in [Driver](/guides/data-models/driver).

Features are chosen when the execution **starts**, not here. An execution that did not ask for `driver_data` answers `204`, and the only way to get the data is to run another one.

| Status | Meaning                                                                                                                    |
| :----- | :------------------------------------------------------------------------------------------------------------------------- |
| `200`  | The driving record.                                                                                                        |
| `202`  | `feature_not_ready` — `driver_data` is still running. **Only this family waits**: the ones that already closed answer now. |
| `204`  | The execution never asked for `driver_data`, or it did and the source had nothing to give. No body either way.             |
| `404`  | No execution with that id for your application, or it has been deleted.                                                    |

**Server to server only.** This call is authorised with your application secret: it belongs in your backend, never in a browser, a mobile app or anything your customer can read.

Reference: https://infonite.dev/api-reference/direct-executions/direct-executions-api/fetching-the-results/public-administration/direct-executions-v-1-results-public-driver-data

## Authentication

- `X-APP-SECRET` header (required) — Application Secret

## Servers

- `https://clients.infonite.tech/api` (Legacy Server, default)
- `https://clients.infonite.io/api` (Production Server)

## Request

### Path parameters

- `execution_id` (string, required) — The execution, as the acceptance response returned it.

## Response

### 200

**200 OK**Your customer's licence as the traffic authority holds it: the classes they may drive, the dates each was granted and expires, and the points balance where the country runs one.

- `product` ("driver_data", required)
- `sub_family` ("driver_data:eu_driver_data", required)
- `fetch_date` (string, required) — Date this product was fetched
- `country` (string, required) — Country that expired the license.
- `licences` (list of object, required) — List of driving licenses.
  - `category` (string, required) — Class of driving license.
  - `date` (date, required) — Granted date.
  - `expires` (date, optional) — Expiry date.
- `point_balance` (integer, optional) — Balance of the driver in points.
- `name` (string, optional) — First name of the driver
- `name_extra` (string, optional) — Last name of the driver.
- `identifier` (object, optional) — NIF of the driver.
  - `type` (enum, required) — Kind of document the number belongs to (e.g. a national ID, passport, tax ID, or Social Security number).
    - Allowed values: `unknown`, `es:dni`, `es:nie`, `es:cif`, `es:ssn`, `co:cc`, `co:ce`, `co:nit`, `co:ti`
  - `value` (string, required) — The number itself, as reported by the source.
  - `validated` (boolean, required) — True when the value passed the platform's format and check-digit validation. It vouches for the NUMBER being well-formed — not for the official status of the document behind it.
  - `country` (string, optional, nullable) — Country that issued the number, as a two-letter ISO code.
  - `valid_until` (date, optional) — Expiry date of the document, when the source reports it.
- `dangerous_goods_authorized` (boolean, optional) — Whether the driver is authorized to transport dangerous goods.
- `school_transport_authorized` (boolean, optional) — Whether the driver is authorized to transport school goods.
- `address` (string, optional) — Address of the driver.
- `point_movements` (list of object, optional) — List of movements. If not present means the data was not consulted.
  - `description` (string, required) — Description of the movement.
  - `date` (date, required) — Date of firmness (legal date).
  - `points_delta` (integer, required) — Points added or subtracted (signed integer).
  - `balance_after` (integer, required) — Balance after the movement.
  - `effective_date` (date, optional) — Effective date of the movement.
  - `infraction_reference` (string, optional) — Reference number of the infraction.
  - `infraction_date` (date, optional) — Date of the infraction.
  - `authority_name` (string, optional) — Name of the authority.
  - `authority_code` (string, optional) — Code of the authority.

### 202

**202 Accepted**`feature_not_ready`: `driver_data` is still running. **You do not have to wait for the whole execution** — every family answers as soon as its own feature closes, so a slow source does not hold up the ones that already finished.

- `detail` (string, required) — Error message

## Errors

### 404 Not Found Error

**404 Not Found**No execution with that id for your application, or it has been deleted.

- `detail` (string, required) — Error message

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of object, optional)
  - `loc` (list of string or integer, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any, optional)
  - `ctx` (object, optional)

## Examples

### Two licence categories and the points balance

**Response**

```json
{
  "product": "driver_data",
  "sub_family": "driver_data:eu_driver_data",
  "fetch_date": "2026-09-12T01:26:48+00:00",
  "country": "ES",
  "licences": [
    {
      "category": "B",
      "date": "1977-08-15",
      "expires": "1987-08-15"
    },
    {
      "category": "A",
      "date": "1989-05-10",
      "expires": "1999-05-10"
    }
  ],
  "point_balance": 9,
  "name": "LISANDRO",
  "name_extra": "TAPIA BERENGUER",
  "identifier": {
    "type": "es:dni",
    "value": "44444444A",
    "validated": true,
    "country": "ES"
  },
  "address": "GLORIETA MAR CUADRADO, 40"
}
```

**SDK Code**

```python Two licence categories and the points balance
import requests

url = "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data"

headers = {"X-APP-SECRET": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Two licence categories and the points balance
const url = 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data';
const options = {method: 'GET', headers: {'X-APP-SECRET': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Two licence categories and the points balance
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-APP-SECRET", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Two licence categories and the points balance
require 'uri'
require 'net/http'

url = URI("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-APP-SECRET"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Two licence categories and the points balance
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data")
  .header("X-APP-SECRET", "<apiKey>")
  .asString();
```

```php Two licence categories and the points balance
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data', [
  'headers' => [
    'X-APP-SECRET' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Two licence categories and the points balance
using RestSharp;

var client = new RestClient("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data");
var request = new RestRequest(Method.GET);
request.AddHeader("X-APP-SECRET", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Two licence categories and the points balance
import Foundation

let headers = ["X-APP-SECRET": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### This family has not finished

**Response**

```json
{
  "detail": "feature_not_ready"
}
```

**SDK Code**

```python This family has not finished
import requests

url = "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data"

headers = {"X-APP-SECRET": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript This family has not finished
const url = 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data';
const options = {method: 'GET', headers: {'X-APP-SECRET': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go This family has not finished
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-APP-SECRET", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby This family has not finished
require 'uri'
require 'net/http'

url = URI("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-APP-SECRET"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java This family has not finished
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data")
  .header("X-APP-SECRET", "<apiKey>")
  .asString();
```

```php This family has not finished
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data', [
  'headers' => [
    'X-APP-SECRET' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp This family has not finished
using RestSharp;

var client = new RestClient("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data");
var request = new RestRequest(Method.GET);
request.AddHeader("X-APP-SECRET", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift This family has not finished
import Foundation

let headers = ["X-APP-SECRET": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/driver/data")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```