Blocket+API.SH

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
Search Blocket ads
GET https://api.api.sh/blocket/v1/search
{ "success": true }
1 credit · $1 per 1,000 calls

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.

Dealer and shop research

Filter to business sellers and open ads for the shop profile to map who sells in a category.

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 and discovery1
Search Blocket ads
/blocket/v1/search
$1 · $2 PAYG
1 credit
Products, listings and places1
Blocket ad details
/blocket/v1/listing
$1 · $2 PAYG
1 credit

Call the Blocket API

Search Blocket ads: GET https://api.api.sh/blocket/v1/search

curl "https://api.api.sh/blocket/v1/search?q=soffa" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 482 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for 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.

More e-commerce APIs all e-commerce APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 482 platforms.
Get a free API key