Skip to main content

Click and Conversion API

The click and conversion API, coupled with our conversion pixel called PJ Pixel, provides shops with a tool to optimize marketing strategy and drive sales. With this combination, shops can retrieve Prisjakt's click and conversion statistics, gain insights into customer behavior, and make data-driven decisions to improve their cost of sales. The click and conversion API is a way for businesses to track their performance on Prisjakt, enabling them to increase their visibility, attract more customers, and ultimately grow their revenue.


All requests to the API require authentication using a client ID and a client secret provided by Prisjakt. The client ID is required for all requests, while the client secret is required for most requests. To authenticate a request, provide the client ID and client secret as headers in the request. Here's an example using curl:

curl --request GET \
--header 'client-id: <client-id>' \
--header 'client-secret: <client-secret>' \

Make sure to replace <client-id> and <client-secret> with your actual values. You can obtain these values from Prisjakt.


The base address of the Click and Conversion API is

The REST API endpoints are organized by resource type. Please refer to the API reference to learn more about the different endpoints and their functionalities.


The API uses a single format to describe errors. The error object is RFC 7807 compliant and contains title, status, detail and context.

"title": "Shop not found",
"status": 404,
"detail": "A shop with ID 121213 could not be found",
"context": {
"request-id": "96206250-bb0f-487b-a334-18192bec8592"

Validation errors will contain an extra field_errors property.

"title": "Request validation failed",
"status": 400,
"detail": "Request contains invalid fields: shopId. See field_errors for more details.",
"field_errors": {
"shopId": {
"message": "invalid integer",
"value": "alfa"
"context": {
"request-id": "d61579e9-eb4a-4fef-87e9-75438bbcfcf4"

Rate Limiting

To ensure good performance and availability of the API for all users, rate limiting is applied to the Client ID.

Production: 10,000 requests in 1 hour

The returned HTTP headers of any API request show your current rate limit status:

X-RateLimit-LimitThe maximum number of requests you're permitted to make per hour.
X-RateLimit-RemainingThe number of requests remaining in the current rate limit window.
X-RateLimit-ResetThe time in milliseconds when the current rate limit window resets.

If the current rate limit has been exceeded, the API will return an HTTP status code 429 Too Many Requests with the following headers:

Status: 429 Too Many Requests
X-RateLimit-Limit: 10000
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 600000 (in milliseconds)

Please wait until the rate limit resets before making additional requests.


In certain cases, the API provides paginated responses to requests. When a response is paginated, the response headers will contain a link header. If the response fits on a single page, the link header will be omitted.

The link header contains the URLs for the previous, next, first, and last pages of results:

The URL for the previous page is followed by "rel=prev". The URL for the next page is followed by "rel=next". The URL for the last page is followed by "rel=last". The URL for the first page is followed by "rel=first".

Here is a complete example of a link header when a user has visited the last page (page 7 in this example):

Link: <>; rel="first", <>; rel="last", <>; rel="prev"