API for www.blocket.se

A simple search API for Blocket.se

GET GetCategories Test

http://apfy.me/www.blocket.se/burken/GetCategories

Fetches the main search categories. "Bostad" and "Jobb" is excluded from this method since those are handled differently by Blocket than the other categories.

Original pathhttp://www.blocket.se/hela_sverige?ca=11&w=3
Transformation dataShow XSLT
Validation dataShow XSDs
Require https?No
Automatically follow redirects?No
Added2012-11-04
Modified2014-08-05
Last successed fetch2016-11-16
Last successed parse2016-11-16
Example request with Curl
curl 	-H "x-apfy-authorization: [Your API key]" \
	http://apfy.me/www.blocket.se/burken/GetCategories

To get JSON-response instead of XMl add: -H "x-apfy-accept: application/json"

APFy.me - Response codes. If you're not getting any data, start by analyzing the response code to understand what might be wrong.

Example XML-response Example JSON-response

GET GetDetail Test

http://apfy.me/www.blocket.se/burken/GetDetail

Get the detail information from a Blocket-ad

Original pathhttp://www.blocket.se/[path]
Transformation dataShow XSLT
Validation dataShow XSDs
Require https?No
Automatically follow redirects?No
Added2012-11-04
Modified2012-11-04
Last successed fetch2017-03-21
Last successed parse2017-03-21
Request parameters
ParameterDescriptionRequiredValidation
path Key as returned from Search-method True ^[a-z]+/[^\.]+\.htm
Example request with Curl
curl 	-H "x-apfy-authorization: [Your API key]" \
	http://apfy.me/www.blocket.se/burken/GetDetail?path=[Required]

Refer to the parameter-pane for more information about specific parameters

To get JSON-response instead of XMl add: -H "x-apfy-accept: application/json"

APFy.me - Response codes. If you're not getting any data, start by analyzing the response code to understand what might be wrong.

Example XML-response Example JSON-response

GET GetRegions Test

http://apfy.me/www.blocket.se/burken/GetRegions

Get possible regions for search

Original pathhttp://www.blocket.se
Transformation dataShow XSLT
Validation dataShow XSDs
Require https?No
Automatically follow redirects?No
Added2012-11-04
Modified2012-11-04
Last successed fetch2015-05-28
Last successed parse2015-05-28
Example request with Curl
curl 	-H "x-apfy-authorization: [Your API key]" \
	http://apfy.me/www.blocket.se/burken/GetRegions

To get JSON-response instead of XMl add: -H "x-apfy-accept: application/json"

APFy.me - Response codes. If you're not getting any data, start by analyzing the response code to understand what might be wrong.

Example XML-response Example JSON-response

GET Search Test

APFy.me - Logo