Using the Auctionet API from a keyword to one lot's bid history
A keyword search can reach one lot's full bid history in two calls:
- Call
auctionet-searchwith a keyword inbody.queryandbody.max_resultsset to how many rows you want per page. - Take the
item_idof the row that interests you fromresults. - Send that
item_idasbody.itemtoauctionet-detailfor the full lot object, its bid history and its category path.
q, keywords, search, term and text are accepted in place of body.query on the first call. item_id, id and lot are accepted in place of body.item on the second call.
lot_id, url and link work the same way there, so a value already held under any of those names reaches either call unchanged. Reading each row's own house and category first, before this second call, can help decide which result is worth the extra lookup out of several similarly named lots.
Learning a category id before narrowing an Auctionet search
A category id is worth learning before it narrows a search:
- Call
auctionet-categorieswithbody.localeset to the language names should come back in. - Walk
categoriesand its nestedchildrenuntil you reach the node for the category wanted. - Send that node's
idasbody.category_idtoauctionet-search.
A child node's id narrows further than the parent it sits under, so going one level deeper in children before this last step reaches a smaller, more specific set of results. The same id also narrows auctionet-houses, since both operations accept it under the identical body.category_id name.
Learning an auction house's id before narrowing an Auctionet search
An auction house's id is worth learning the same way:
- Call
auctionet-houses, optionally withbody.queryto narrow which houses come back. - Take the
idof the house wanted fromhouses. - Send that
idasbody.house_idtoauctionet-search.
auctionet-houses is the one place an auction-house id is paired with its own name, so this is also how a house name shown to a user gets turned back into the id a search needs. Each entry in houses also carries item_count, worth checking before body.house_id is sent, since a very low count can mean the search that follows will return little. The same lookup also runs in reverse: given a house_id already in hand from an auctionet-search row, scanning auctionet-houses for the matching id recovers that house's own name without a separate lookup elsewhere.
Paging deep into a large Auctionet result set
Working through more of a large result set takes more than raising body.page alone:
- Set
body.max_resultsto the largest page size useful, up to 200, since a larger page reaches further per call. - Raise
body.pageone step at a time, from its default of 1 up toward its own ceiling. - Narrow
body.query,body.category_idor another filter once a plain page increase stops reaching far enough.
A page near the end of a result set can come back with fewer rows than body.max_results asked for simply because fewer rows are left to return, not because anything failed. A query already narrowed by body.category_id or body.house_id, together with a smaller body.max_results, can still reach a precise lot faster than paging through a broad one.
Watching one Auctionet lot from open bidding to its close
A lot can be watched across repeated calls rather than read only once:
- Call
auctionet-searchwithbody.statusleft at its default ofliveand store theitem_idof the lot to watch. - Call
auctionet-detailwith thatitem_idasbody.itemto readcurrent_bid,bid_countandreserve_metat any point before the lot closes. - Repeat the same
auctionet-detailcall after the lot'sends_at, onceis_soldon the lot shows whether it actually sold, to readfinal_bidand the complete bid history.
Searching again with body.status set to ended also finds the same lot once it has moved from the live side of the catalogue to the closed archive. Reading bid_count alongside current_bid at each check shows not just the price but how actively a lot is being contested.
Comparing Auctionet prices without mixing currencies
A single page of auctionet-search results is worth grouping before any prices on it are compared:
- Group each row by its own
currencyfirst, rather than assuming one page shares a single currency throughout. - Compare
estimate_low,estimate_highorcurrent_bidonly within one such group, never across two different currencies directly. - Narrow with
body.countrywhen only one country's own currency is wanted in the first place.
Choosing estimate_low_first or bid_low_first for body.sort still ranks every row together across its groups, so the sequence that order produces is not itself a per-currency ranking.
Auctionet in brief
An auction estimate is a pre-sale price range drawn from what comparable items have sold for, while a reserve is a confidential minimum a seller has separately agreed to, below which a lot will not sell. A bidder on Auctionet can set a maximum bid that stays hidden from other bidders; the system places bids on their own behalf up to that limit and sends an alert if another bidder exceeds it.
[
{
"body": {
"query": "rolex",
"max_results": 10
}
},
{
"body": {
"item": "5336678"
}
}
]{
"body": {
"category_id": 31,
"sort": "ending_soonest",
"max_results": 10
}
}Server-side request template
This server-side template shows authentication and request identity using the first operation of this API. Choose the operation for your use case and check its current availability and price on the API page. After a timeout, resend the unchanged request with the same Idempotency-Key.
The gateway request is always POST.
Use a JSON object with the documented path, query, headers and body locations; omit unused locations. input.headers is JSON data for the operation, not browser request headers. Do not put credentials here. Keep body arrays, scalar values and null as documented; omission is different from null.
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/auctionet/auctionet-categories' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"locale":"en"}}'Integration checklist
- The API key is stored in a server-side secret manager and never sent to a browser.
- Each request carries its own Idempotency-Key, kept until the request has a final answer.
- The integration reads ok and error.code and handles each error code as the error table describes.
- An uncertain POST is inspected using its original identity, never blindly repeated with a new one.
- The operation’s current availability and price have been checked on its API page.
Auctionet API: categories, lot detail, houses and search overview and prices · Read the API reference · Try it in the playground