# Agriaffaires Dealer Inventory API Documentation

<p>Return the public listing cards of one dealer by numeric dealer id and the public path from the dealers endpoint. Send the dealer url, or its slug. Cards use the same fields as search, with a path page from 1 to 200. Unknown ids return 422 and are not billed. 2 credits per successful request. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/agriaffaires-api/agriaffaires_dealer_inventory](https://scrappa.co/docs/agriaffaires-api/agriaffaires_dealer_inventory)
- **API group:** Agriaffaires API
- **Endpoint:** `GET https://scrappa.co/api/agriaffaires/v1/dealer-inventory`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric dealer id from dealers. |
| `url` | string | No | Url from dealers, or send slug. |
| `slug` | string | No | Dealer slug from dealers, or send url. |
| `page` | integer | No | Path page, 1 to 200. Default 1. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Public data is temporarily unavailable. |  |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
