Skip to content
Scrappa Get API key
Agriaffaires API 2 credits / request

Agriaffaires Dealer Inventory API Documentation

GET https://scrappa.co/api/agriaffaires/v1/dealer-inventory

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.

Agriaffaires Dealer Inventory API Documentation 2 credits / request

Endpoint

Request preview
GET
https://scrappa.co/api/agriaffaires/v1/dealer-inventory
Auth header
x-api-key
Cost
2 credits / request
id = 1234567890
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

3 optional filters available.

id string Required

Numeric dealer id from dealers.

Example value 1234567890
url string Optional
Open example

Url from dealers, or send slug.

Example value https://example.com/product
slug string Optional

Dealer slug from dealers, or send url.

Example value example
page integer Optional

Path page, 1 to 200. Default 1.

Example value 1

Errors

Handle these documented responses before retrying or showing customer-facing failures.

API Error

Public data is temporarily unavailable.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.