+Blocket API
Search Blocket marketplace ads and used cars in Sweden and get them as clean JSON.
The API.SH Blocket API turns public ads on blocket.se, Sweden's major classifieds marketplace, into structured JSON. Search ads by keyword with category, location, radius, price, condition, seller type, shipping and any other filter the site lists, or switch to used cars for make, model, year, mileage and fuel, then open an ad for its full description, attributes, coordinates, photos and shipping options.
- 2 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/blocket/v1/ search
{ "success": true } What you can build with the Blocket API
Second-hand price research in Sweden
Search a keyword and category on Blocket and compare SEK asking prices by condition and region.
Used car market tracking
Search vertical=cars for a make and model and track prices, years and mileage from dealers and private sellers.
New-ad watchers (bevakning)
Filter to ads published today, or open the latest match, and alert yourself before others reply.
Blocket data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Blocket API endpoints and prices
Every Blocket endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Search Blocket ads /blocket/ | $1 · $2 PAYG 1 credit |
| Blocket ad details /blocket/ | $1 · $2 PAYG 1 credit |
Call the Blocket API
Search Blocket ads: GET https://api.api.sh/blocket/
curl "https://api.api.sh/blocket/v1/search?q=soffa" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/blocket/v1/search",
params={"q": "soffa"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/blocket/v1/search");
url.searchParams.set("q", "soffa");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/blocket/v1/search", "q", "soffa")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Blocket" and "Search Blocket ads".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Blocket data
- Public data only: no Blocket login, cookies or account needed
- One key and one response shape for Blocket and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official Blocket API
Blocket's official Pro Import API is for business advertisers, mainly car dealers, publishing ads with OAuth 2.0 credentials; it is not for reading the marketplace. Older unofficial libraries on GitHub wrap Blocket's site. API.SH reads the public ads and returns them as JSON with no Blocket account.
Apify actors and unofficial Python libraries such as blocket_api cover Blocket; API.SH gives you maintained search and ad routes with one key and a fixed price per call, so you skip building your own scraper in Python.
Blocket API questions
What Blocket data can I get?+
Search results with SEK price, location, coordinates, published time, photos and labels, plus make, model, year, mileage, fuel and transmission for cars (/blocket/v1/search), and one ad with description, every attribute, category path, shipping options and shop profile (/blocket/v1/listing).
How much does the Blocket API cost?+
Every Blocket endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /blocket/v1/listing at 1 credit each.
Is there an official Blocket API?+
Blocket has a Pro Import API for businesses publishing ads, using OAuth. There is no official API for reading or searching ads, which is what API.SH provides.
Do I need a Blocket account or login?+
No. API.SH reads public Blocket ads only, and private sellers' names, phones and emails are never returned.
Can I use the Blocket API from Python?+
Yes. Call the routes over HTTP with requests, or use the API.SH Python SDK. You get JSON back without maintaining an unofficial Blocket library.
Is this Blooket?+
No. This is Blocket (blocket.se), the Swedish marketplace, not the Blooket classroom game or the Blocket call-blocker app.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /blocket/v1/search with q and a location. Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.