# Blocket Car Listings Scraper

> Blocket Car Listings Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured car listing data from Blocket (Swedish marketplace) including make, model, year, price, and dealer info at configurable detail levels

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/blocket?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blocket-car-listings-scraper-5a77d2e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AA0O_QmL0r_08R5AxOSEr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blocket-car-listings-scraper-5a77d2e5 -d '<json body>'
```

Example prompt: Scrape all used Volvo listings from this Blocket search URL — https://www.blocket.se/annonser/bilar?q=volvo — grab full details including phone numbers, and stop after 500 cars.

## When to prefer this

Use this endpoint when you need structured, bulk vehicle listing data from Blocket specifically (Swedish market). Prefer it over generic web scrapers when you need normalized fields like make, model, year already extracted, or when you need dealer inventory via org IDs. Best suited for market analysis, price monitoring, or inventory aggregation on the Swedish used car market.

## Known failure modes

- Empty results if Blocket search URL returns no listings — not charged
- Invalid or expired Blocket URLs cause empty or error response
- Exceeding safePartitionCap without proper slicing may miss results near the 2450-result page limit
- Phone number unavailable if ad does not display a public phone button
- Rate limiting or blocking by Blocket may cause partial results

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

A JSON object with a count of results and an array of car listing items, each containing fields such as adId, make, model, year, adUrl, title, series, and modelSpecification. The product field confirms the source as 'blocket'. Detail level controls whether only search-page data or full ad page data (including dealer profile) is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 1000,
   "minimum": 0,
   "description": "Stop after this many unique cars. Set 0 for no limit."
  },
  "startUrls": {
   "type": "array",
   "description": "Public Blocket car search, individual car ad, or dealer page URLs. Search URL filters are preserved. Empty means the whole car marketplace."
  },
  "detailLevel": {
   "enum": [
    "basic",
    "full",
    "fullDealer"
   ],
   "type": "string",
   "default": "full",
   "description": "Basic uses search records only. Full also opens each car ad. Full dealer also opens each dealer profile once."
  },
  "dealerOrgIds": {
   "type": "array",
   "description": "Dealer IDs from /mobility/dealer/{id}; each ID loads the dealer car inventory."
  },
  "includePhone": {
   "type": "boolean",
   "default": false,
   "description": "For full detail, request the public number shown by the ad phone button when available."
  },
  "fullCoveragePass": {
   "type": "boolean",
   "default": false,
   "description": "After price slicing, sweep by model year to find listings without a price. This adds search requests."
  },
  "safePartitionCap": {
   "type": "integer",
   "default": 2000,
   "maximum": 2450,
   "minimum": 100,
   "description": "Split a search when its reported count exceeds this value, leaving room below the 2450-result page limit."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "adId": null,
    "make": null,
    "year": null,
    "adUrl": null,
    "model": null,
    "title": null,
    "series": null,
    "modelSpecification": null
   }
  ],
  "product": "blocket"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blocket-car-listings-scraper-5a77d2e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
