API documentation

Get a list of the newest classified adverts through our open and public API.

Latest classified adverts

Endpoint

https://www.filmprylar.se/api/v1/public/adverts Goto endpoint

Supported HTTP methods

GET

Request

curl -X GET https://www.filmprylar.se/api/v1/public/adverts

No API key is required for the open and public API.

Response

Returns HTTP status code 200 OK or 304 Not Modified with the content type application/json and character encoding UTF-8.

If there are any errors, they are returned with HTTP status code 500 Internal Server Error.



                    

                    

Parameters

url String URL to the frontpage of the site
name String Name of the site
description String Description of the site
language String Main culture-language of site and adverts (ISO 639-1 format, e.g. en-US)
currency String Currency used for prices (ISO 4217 format, e.g. USD)
classifieds Array A list of the 15 latest classifieds adverts
url String URL to the advert on the site
title String Title of the advert
thumbnail String URL to a thumbnail or null if there is no thumbnail
image String URL to the main image of the advert (same as thumbnail) or null if there is no main image
bidding Boolean true if the advertiser accepts price bids, otherwise false
price Number Price of the classified goods as an integer (in the currency of the site), or null if there is no price
type String The type of advert, one of: Säljes, Köpes, Bytes, Uthyres, Önskas hyra, Bortskänkes
category String Name of the category the advert belongs to
region String Name of the region where the advertiser/goods come from
posted String Local date and time when the advert was published on the site (ISO 8601 format YYYY-MM-DDThh:mm)
posted_utc String UTC date and time when the advert was published on the site (ISO 8601 format YYYY-MM-DDThh:mmZ)