# Agriaffaires Listing API Documentation

<p>Open one listing by its numeric id together with the public detail path from search. Send the card url, or its category and slug. No path is invented. Returns the numeric EUR price with VAT flag and net price, a price-on-request state, specs with number and printed unit, condition, comments, location, dealer, breadcrumb and full-size image URLs. A JSON-LD price witness is included when the page publishes one. 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_listing](https://scrappa.co/docs/agriaffaires-api/agriaffaires_listing)
- **API group:** Agriaffaires API
- **Endpoint:** `GET https://scrappa.co/api/agriaffaires/v1/listing`

## 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 listing id from search. |
| `url` | string | No | Detail url from the search card, or send category and slug. |
| `category` | string | No | Category slug from the search card. Use with slug. |
| `slug` | string | No | Detail slug from the search card. Use with category. |

## 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)
