1 credit per call10 endpoints12 datapointsChecked working 6 Dec 2026
Agriaffaires API
Agriaffaires API for used farm machinery: listings, dealer stock, dealer lists and price indexes by make, model and year as JSON. 1 to 5 credits per call.
{
"success": true,
"data": {
"listings": [
{
"id": "47009077",
"url": "https://www.agriaffaires.de/gebrauchte/traktor/47009077/case-ih-puma.html",
"category": "traktor",
"slug": "case-ih-puma",
"title": "Case IH Puma",
"price": 73000,
"currency": "EUR",
"price_on_request": false,
"location": "",
"dealer": "",
"image": "https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/47009077/47009077_1784594153_262.jpg?index",
"image_count": 2
},
{
"id": "44939054",
"url": "https://www.agriaffaires.de/gebrauchte/traktor/44939054/case-ih-puma-cvx-185.html",
"category": "traktor",
"slug": "case-ih-puma-cvx-185",
"title": "Case IH PUMA CVX 185",
"price": 89000,
"currency": "EUR",
"price_on_request": false,
"location": "",
"dealer": "",
"image": "https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/44939054/44939054_1719279281_974.jpg?index",
"image_count": 2
},
{
"id": "47210775",
"url": "https://www.agriaffaires.de/gebrauchte/traktor/47210775/fendt-724-vario-s4.html",
"category": "traktor",
"slug": "fendt-724-vario-s4",
"title": "Fendt 724 VARIO S4",
"price": 129900,
"currency": "EUR",
"price_on_request": false,
"location": "",
"dealer": "",
"image": "https://d1grzqaobpv15j.cloudfront.net/pa/375-280/252972/47210775/47210775_1795382937_73.jpg?index",
"image_count": 2
}
],
"count": 52,
"pagination": {
"page": 1,
"per_page": 52,
"has_next": false,
"max_page": 200
}
},
"meta": {
"endpoint_family": "search",
"request_id": "req_30562e3b1fe64f77bec999ec3a83d3a6",
"credits_charged": 2,
"credits_remaining": 4997
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idstring | urlurl | categorystring | slugstring | titlestring | priceinteger | currencystring | price_on_requestboolean | locationstring | dealerstring | imageurl | image_countinteger |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 47009077 | https://www.agriaffaires.de/gebrauchte/traktor/47009077/case-ih-puma.html | traktor | case-ih-puma | Case IH Puma | 73000 | EUR | false | https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/47009077/47009077_1784594153_262.jpg?index | 2 | ||
| 2 | 44939054 | https://www.agriaffaires.de/gebrauchte/traktor/44939054/case-ih-puma-cvx-185.html | traktor | case-ih-puma-cvx-185 | Case IH PUMA CVX 185 | 89000 | EUR | false | https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/44939054/44939054_1719279281_974.jpg?index | 2 | ||
| 3 | 47210775 | https://www.agriaffaires.de/gebrauchte/traktor/47210775/fendt-724-vario-s4.html | traktor | fendt-724-vario-s4 | Fendt 724 VARIO S4 | 129900 | EUR | false | https://d1grzqaobpv15j.cloudfront.net/pa/375-280/252972/47210775/47210775_1795382937_73.jpg?index | 2 |
[
{
"id": "47009077",
"url": "https://www.agriaffaires.de/gebrauchte/traktor/47009077/case-ih-puma.html",
"category": "traktor",
"slug": "case-ih-puma",
"title": "Case IH Puma",
"price": 73000,
"currency": "EUR",
"price_on_request": false,
"location": "",
"dealer": "",
"image": "https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/47009077/47009077_1784594153_262.jpg?index",
"image_count": 2
},
{
"id": "44939054",
"url": "https://www.agriaffaires.de/gebrauchte/traktor/44939054/case-ih-puma-cvx-185.html",
"category": "traktor",
"slug": "case-ih-puma-cvx-185",
"title": "Case IH PUMA CVX 185",
"price": 89000,
"currency": "EUR",
"price_on_request": false,
"location": "",
"dealer": "",
"image": "https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/44939054/44939054_1719279281_974.jpg?index",
"image_count": 2
},
{
"id": "47210775",
"url": "https://www.agriaffaires.de/gebrauchte/traktor/47210775/fendt-724-vario-s4.html",
"category": "traktor",
"slug": "fendt-724-vario-s4",
"title": "Fendt 724 VARIO S4",
"price": 129900,
"currency": "EUR",
"price_on_request": false,
"location": "",
"dealer": "",
"image": "https://d1grzqaobpv15j.cloudfront.net/pa/375-280/252972/47210775/47210775_1795382937_73.jpg?index",
"image_count": 2
}
]id,url,category,slug,title,price,currency,price_on_request,location,dealer,image,image_count 47009077,https://www.agriaffaires.de/gebrauchte/traktor/47009077/case-ih-puma.html,traktor,case-ih-puma,Case IH Puma,73000,EUR,false,,,https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/47009077/47009077_1784594153_262.jpg?index,2 44939054,https://www.agriaffaires.de/gebrauchte/traktor/44939054/case-ih-puma-cvx-185.html,traktor,case-ih-puma-cvx-185,Case IH PUMA CVX 185,89000,EUR,false,,,https://d1grzqaobpv15j.cloudfront.net/pa/375-280/269660/44939054/44939054_1719279281_974.jpg?index,2 47210775,https://www.agriaffaires.de/gebrauchte/traktor/47210775/fendt-724-vario-s4.html,traktor,fendt-724-vario-s4,Fendt 724 VARIO S4,129900,EUR,false,,,https://d1grzqaobpv15j.cloudfront.net/pa/375-280/252972/47210775/47210775_1795382937_73.jpg?index,2
Recorded from our API · 3 items shown · 12 datapoints per itemGET /v1/agriaffaires/search
12 datapoints
Identity
- idstring
- categorystring
- slugstring
- titlestring
Contact
- urlurl
Location
- locationstring
Reputation
- imageurl
- image_countinteger
Price
- priceinteger
- currencystring
- price_on_requestboolean
- dealerstring
Playground
Run this API
curl "https://api.perceptlayer.com/v1/agriaffaires/search" \
-H "X-API-Key: $API_KEY"Agriaffaires · 10 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/agriaffaires/autocomplete | value+3 optional | words | 1 credit |
GET/v1/agriaffaires/dealer-inventory | id+3 optional | idurlcategoryslugtitleprice+6 more | 2 credits |
GET/v1/agriaffaires/dealer-map | none+1 optional | idlatitudelongitude | 5 credits |
GET/v1/agriaffaires/dealers | none+1 optional | idurlslug | 3 credits |
GET/v1/agriaffaires/listing | id+3 optional | listing | 2 credits |
GET/v1/agriaffaires/price-index | rubricmakemodelyear | rubricmakemodelyearprice_index | 1 credit |
GET/v1/agriaffaires/price-taxonomy | none+3 optional | idvaluekind | 1 credit |
GET/v1/agriaffaires/search | none+2 optional | idurlcategoryslugtitleprice+6 more | 2 credits |
GET/v1/agriaffaires/sitemap | none | idurlslug | 1 credit |
GET/v1/agriaffaires/taxonomy-nav | none | idurlslug | 1 credit |
Overview
About the Agriaffaires API
What you can get
The Agriaffaires API returns used agricultural machinery listings from Agriaffaires Germany as JSON through 10 endpoints. Prices come back in EUR.
- Listings:
searchreturns listing pages, withcategoryandpage.listingtakes anidplus itsurlorslugand returns the full listing withspecs. - Dealers:
dealerslists dealer directory pages, withpage.dealer-inventorytakes a dealeridplus itsurlorslug, withpage.dealer-mapreturns dealer ids with coordinates, withlimit. - Price index:
price-indextakes arubric,make,modelandyearand returns the price range for that machine.price-taxonomylists the ids it needs, withkind(rubrics, makes or models),rubricandmake. - Navigation:
autocompletetakes avalue, withkind(search, rubric or model),rubricandmake.sitemapandtaxonomy-navlist the category tree.
The recorded search returns listings, each with id, url, category, slug, title, price, currency, price_on_request, location, dealer, image and image_count, plus pagination (page, per_page, has_next and max_page). That page held 52 listings, the first a Case IH Puma at 73,000 EUR. In the recordings location and dealer are often empty strings on search rows. The recorded price-index for model 6r195 from 2024 returned a price_min of 126,701, a price_max of 175,000 and a price_average of 158,517 across 23 classifieds.
How a call works
Browse, then open a listing: GET /v1/agriaffaires/search?page=1 with your key in the X-API-Key header returns each listing's id and url. Pass both to listing, for example GET /v1/agriaffaires/listing?id=46708395&url=/gebrauchte/traktor/46708395/fendt-720-power.html. Dealer ids from dealers or dealer-map go into dealer-inventory with the dealer's slug. For valuations, walk price-taxonomy from rubrics to makes to models, then call price-index with those ids and a year.
Prices differ by endpoint: autocomplete, price-index, price-taxonomy, sitemap and taxonomy-nav cost 1 credit; search, listing and dealer-inventory cost 2; dealers costs 3; and dealer-map costs 5. Failed calls cost nothing.
More cars APIs
Use cases
Value a used tractor from the min, max and average price for its make, model and year
Use the Agriaffaires API to value a used tractor from the min, max and average price for its make, model and yearTrack asking prices for a category of farm machinery over time
Use the Agriaffaires API to track asking prices for a category of farm machinery over timePull a dealer's full inventory page by page
Use the Agriaffaires API to pull a dealer's full inventory page by pageMap farm machinery dealers by coordinates
Use the Agriaffaires API to map farm machinery dealers by coordinatesFAQ
Questions
How much does the Agriaffaires API cost?
It depends on the endpoint: 1 credit for `autocomplete`, `price-index`, `price-taxonomy`, `sitemap` and `taxonomy-nav`, 2 for `search`, `listing` and `dealer-inventory`, 3 for `dealers` and 5 for `dealer-map`. Failed calls cost nothing.
Which site is covered?
Agriaffaires Germany. Listing URLs, category names and spec labels come back in German, and prices in EUR.
How do I get the ids for price-index?
Call `price-taxonomy` with `kind=rubrics`, then `kind=makes` with a `rubric`, then `kind=models` with a `rubric` and `make`. The recorded `price-index` call used rubric `510`, make `4039` and model `6r195`.
Do I need an Agriaffaires account?
No. You call this Agriaffaires API with your Perceptlayer key in the `X-API-Key` header, with no Agriaffaires login.
Is this the official Agriaffaires API?
No. Perceptlayer is an independent service and is not affiliated with Agriaffaires. It returns Agriaffaires data as JSON with a Perceptlayer key, so there is no Agriaffaires developer account, app review or partner approval to get first. It only reads data: if Agriaffaires has an official API and you need to act on your own Agriaffaires account, such as posting, managing orders or reading private data, use that one.
Should I build an Agriaffaires scraper instead?
You can, but an Agriaffaires scraper is code you maintain: page changes break it, requests get blocked, and Agriaffaires's terms govern how you collect data. The Agriaffaires API gives you 10 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Agriaffaires API with 100 free credits
No credit card. Failed calls are never billed.