Partner FAQ
Common errors
I get a 401 when I try to use the API, what's wrong?
In order to fetch data from the API, you need to sign a partner agreement and get your access credentials. To request a partner agreement, contact us using this form. If you're already a partner, reach out to [email protected] to get your access credentials. See Getting started and the api reference for details of how to use the authentication and API.
My access token has expired, how do I get a new one?
Access tokens are valid for 24 hours. To optimize performance, cache the access token and its lifetime in your application. You should only fetch a new token when the current one is nearing expiration, rather than requesting a new token for every API call. To request a new access token, refer to Calling an API - Step 1.
My links are missing a ref query parameter, what's wrong?
You must include a ref query parameter with all your requests if you want attribution when a end user clicks links to shops or Prisjakt. The ref query parameter is used to identify you as a partner and will be appended on all relevant links in the response body. See Attribution and the API Reference.
I get less offers in my response then I see on Prisjakt
The API only returns offers that are available for purchase. Offers that are out of stock or not available for purchase are not included in the response.