Marketplace
Blocket logo

Blocket API

blocket.se

Blocket Sweden second-hand marketplace listings and prices in SEK

Actions
6
Category
Marketplace
Login
Not required
Output
JSON

Call the Blocket API

Submit a task, then poll the job until it settles. This example runs act_blocket_se_category_listings.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_blocket_se_category_listings",
    "params": {
      "category": "0.93"
    }
  }'

6 actions on blocket.se

Read

  • Category Listings

    act_blocket_se_category_listingsread1 credit / call

    List current Blocket listings in a category with price (SEK), location and posted date

    category
    string · required
    page
    integer
  • Filtered Search

    act_blocket_se_filtered_searchread1 credit / call

    Search Blocket listings filtered by min/max price (SEK) and region

    search_query
    string · required
    min_price
    integer
    max_price
    integer
    region
    string
    category
    string
    page
    integer
  • Listing Detail

    act_blocket_se_listing_detailread1 credit / call

    Get a Blocket listing by id or url: title, description, price in SEK, condition, seller type, location, posted date and images.

    listing_id
    string · required
    listing_url
    string
  • Price Summary

    act_blocket_se_price_summaryread1 credit / call

    For a search keyword, return count, min, median and max asking price of current listings in SEK

    search_query
    string · required
    category
    string
  • Related Listings

    act_blocket_se_related_listingsread1 credit / call

    Similar listings shown for a Blocket listing id, with price (SEK) and location

    listing_id
    string · required
  • Search Listings

    act_blocket_se_search_listingsread1 credit / call

    Search Blocket second-hand listings by keyword, with optional price range, region and category. Returns title, price in SEK, location, posted date, listing id, url and image.

    q
    string · required
    price_from
    integer
    price_to
    integer
    location
    string
    category
    string
    page
    integer

Blocket API questions

Is there an API for Blocket?
Blocket does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for blocket.se. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Blocket data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when blocket.se changes its markup, Anakin updates the action.
Do I need a Blocket account?
No. Every Blocket action listed here runs anonymously — no account and no credentials required.
What does the Blocket API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Marketplace APIs

All Marketplace sites