Used tractors and farm machinery, and the asking-price band for a model
The Agriaffaires API returns used farm machinery adverts from agriaffaires.com, and construction and handling machinery from its sister site MachineryZone, as clean JSON.
- endpoints
- 10
- credits per call
- 1–4
4 credits per call≈ $4/1,000 calls1,000 free credits, no card
- Kubota M 5091asking_price
- listing_type
- classified
- category
- Tracteur agricole
- Fendt 720 VARIO POWERasking_price
- listing_type
- classified
- category
- Tracteur agricole
- Massey Ferguson 5713 SL DYNA 4asking_price
- listing_type
- classified
- category
- Tracteur agricole
10 active endpoints, on 1, 2, 3 and 4 credit tiers.
- POST/agriaffaires/v1/search4 credits
- POST/agriaffaires/v1/detail3 credits
- POST/agriaffaires/v1/categories3 credits
- POST/agriaffaires/v1/facets3 credits
- POST/agriaffaires/v1/suggest1 credit
- POST/agriaffaires/v1/dealers3 credits
- POST/agriaffaires/v1/dealer3 credits
- POST/agriaffaires/v1/dealer_listings3 credits
Run the call yourself, on the real endpoint
Change a parameter and press Try it. The response on the right is what your code will receive.
Agriaffaires API
3 of 10 endpoints, ready to run
Adverts filtered the way a dealer looks at a yard: category, make, year, hour meter, price band, advert type and seller country, 50 rows a page.
// Press "Try it" and this pane shows exactly what the // live site returned this second — including an empty // result, if that is the truth. No key, no account.
What Agriaffaires endpoints does ReefAPI ship?
10 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.
Every parameter, every allowed value →
Missing a Agriaffaires endpoint, or need a source we don't have yet?Contact us real people · same-day reply.How the Agriaffaires API works
Agriaffaires is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.
No OAuth app, no request signing, no per-site account. One key covers all 752 engines.
Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.
Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.
One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.
Check one tractor's asking price against the market's own band
Three calls: the price band for a model, the adverts behind it, and one advert in full.
{"market": "fr", "rubric_id": 510, "make_id": 4039, "model": "6R195", "year": 2024}Lowest, highest and average asking price in EUR, excluding VAT, and how many adverts the band rests on.
{"category_id": 702, "manufacturer": "John Deere", "model": "6R195", "year_min": 2024, "year_max": 2024, "listing_type": "sale", "sort": "price_asc"}The adverts for that machine, cheapest first, with hours, price and where the seller is.
{"listing_id": "46952423", "market": "us"}One advert with the spec table and the seller's description, ready to compare with the band.
Where one machine sits against what the rest of the market is asking, with the adverts to prove it.
curl -X POST https://api.reefapi.com/agriaffaires/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"tracteur","market":"fr","page":1}'{
"ok": true,
"data": { … },
"meta": {
"api": "agriaffaires",
"endpoint": "search",
"mode": "live",
"latency_ms": …,
"record_count": …
},
"error": null
}One 2024 John Deere 6R195 against the marketplace's own band
An advert from detail and the band from price_index for the same make, model and year, both read on 2026-11-08. The band is the marketplace's figure, not one we computed.
| Figure | Value | Comes from |
|---|---|---|
| Asking price of advert 46952423 | EUR 151,000 | detail: price |
| That advert's hour meter and power | 1,480 h, 195 ch | detail: operating_hours, engine_power |
| Lowest asking price, 6R195 from 2024 | EUR 126,701 | price_index: price_min |
| Highest asking price | EUR 175,000 | price_index: price_max |
| Average asking price | EUR 158,517 | price_index: price_average |
| Adverts behind the band | 23, of which 17 still online | price_index: number_classified, number_classified_online |
price_index keeps its own ids: rubric 510 is the farm tractor and make 4039 is John Deere, while search uses category 702 and a different id for the make. An id from the wrong list answers an empty result, not an error, so take them from price_index itself. The band shows what sellers ask, and the site does not publish completed sale prices.
Two machinery catalogues, one currency, asking prices only
Agriaffaires is farm machinery and its sister site MachineryZone is construction and handling machinery, read through this engine with the site parameter. Measured 2026-11-08 on live responses. Some of these lines go against us.
listing_type separates sale adverts, auctions, rentals and wanted adverts, and price_is says which figure a row carries. On 141 tractor auctions read on the French site, price was null and auction_start_price held the opening bid.
site=agriaffaires for farm machinery, site=machineryzone for excavators, loaders and cranes. An excavator search on MachineryZone returned 21,938 adverts for sale, and a listing id from one site does not exist on the other. MachineryZone also has its own page: /machineryzone-api.
Its 26 values choose the national site and the language of the labels, not a different stock list or a converted price. Listing 46952423 read EUR 151,000 on the US site.
50 rows a page and 200 pages at most, so 10,000 adverts per query. To reach the rest, narrow by year, country or make.
engine_power is in metric ch even where the page prints hp: 195 hp on the US site comes back as 195 with unit ch.
Completed sale prices, which classifieds do not show. The band in price_index is what sellers ask, not what machines sold for.
What people build with Agriaffaires
The jobs this data is most often used for.
endpoints
credits per call
Value a used tractor: the asking-price band from price_index next to the matching adverts from search
Source machinery across borders by seller country, region, year and hour meter
Follow one dealer's stock with dealer and dealer_listings
Watch a make come onto the market: newest first, in a year window and hour band
What Agriaffaires data costs
The cheapest call here is 1 credit, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.
- 1,000 free credits on signup, no card
- One key, all 752 APIs, one credit pool
- Failed and blocked calls are never charged
- Credits roll over and never expire
Call it in two lines
Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.
curl -X POST https://api.reefapi.com/agriaffaires/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"tracteur","market":"fr","page":1}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/agriaffaires/v1/search",
headers={"x-api-key": REEF_KEY},
json={
"query": "tracteur",
"market": "fr",
"page": 1
},
timeout=90,
)
print(r.json()["data"])Have a question? We got answers.
The questions people actually ask before wiring up Agriaffaires.
What is the difference between Agriaffaires and MachineryZone in this API?▾
The catalogue. Set site to agriaffaires for tractors, harvesters, sprayers and balers, or to machineryzone for excavators, loaders, dumpers, cranes and forklifts. Both take the same actions and parameters, but they are separate stock lists and a listing id from one does not exist on the other. MachineryZone also has its own page: /machineryzone-api.
Does the price change with the market parameter?▾
No. market picks the national site and the language of the labels, not a different stock list or a converted price. Advert 46952423 was EUR 151,000 on the US site on 2026-11-08, and the marketplace keeps one price per advert; meta.host and meta.label_language show which site answered.
Is the engine power in hp or in ch?▾
In metric ch, whatever the page prints. On the US site the spec table printed 195 hp for that tractor while engine_power was 195 with engine_power_unit ch, and the printed label travels beside it in specs as unit_label, so you can see both.
How do I call price_index?▾
Step down through it: with no ids it lists rubrics, with a rubric_id it lists makes, with a make_id it lists models, and with a model and a year it returns the band. Its rubric and make ids are not the category and manufacturer ids search uses, and passing those gives an empty result.
How are auctions, rentals and wanted adverts handled?▾
They are labelled. listing_type says which it is and price_is names the figure a row carries. An auction row has price null and the opening bid in auction_start_price: a 1990 Fendt Farmer 308 LSA read 6,000 on the French site. A rental has rental_price, and only a for-sale advert has an asking price in price. Pass listing_type=sale if that is all you want.
How deep can I page one query?▾
10,000 adverts: 50 a page and 200 pages, as meta.pagination reports. To go further, narrow by year, category, make or country.
What is returned about the seller?▾
A search row gives seller_type and, for a professional, the company in seller_name; private adverts have no name. detail adds the seller block with the dealer's activity, region and country, plus the contact details the page prints. dealers and dealer cover companies directly, and dealer_listings returns one dealer's current stock.
What is the Agriaffaires API?▾
Agriaffaires API is a ReefAPI endpoint group for used tractors and farm machinery as json, plus construction machinery from machineryzone: make, model, year, hours, price and the marketplace's own asking-price band. It returns live JSON through POST requests under /agriaffaires/v1.
Is the Agriaffaires API free to try?▾
Yes. ReefAPI starts with 1,000 free credits, no card required. Agriaffaires calls use the same shared credit balance as every other ReefAPI engine.
Do I need an Agriaffaires login or account?▾
No login to Agriaffaires is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Agriaffaires data?▾
The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Agriaffaires API use?▾
Agriaffaires actions currently cost 1-4 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Agriaffaires from an AI assistant or MCP client?▾
Yes. Connect ReefAPI once through MCP and your assistant can call agriaffaires actions with the same key, credit pool and JSON envelope used by normal REST requests.
Is the Agriaffaires API an Agriaffaires scraper?▾
It is the managed alternative to a DIY Agriaffaires scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same used tractors and farm machinery as json, plus construction machinery from machineryzone: make, model, year, hours, price and the marketplace's own asking-price band back as clean JSON.
396 E-commerce & Marketplaces APIs on the same key
One key, one credit pool, one response envelope. If you are pulling Agriaffaires, you are one call away from the rest of the category — no second contract, no second integration.
Need something this API does not do?
Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.
Try it on your own data before you pay anything
The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 751 APIs, and the same envelope everywhere.
Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-11-08.