Skip to content

Count PDPs

GET/v1/pdps/count

Count PDPs with the filters of GET /v1/pdps. With latest, the count is the number of Listings.

Authorization
header · required
Bearer <Extralt API key>
run_id
query · string

Only this Run's PDPs. Pass at most one of run_id and import_id.

import_id
query · string

Only this Import's PDPs.

store_id
query · string

Only this Store's PDPs.

listing_id
query · string

Only this Listing's PDPs: a PDP's listing_id.

url
query · string

Only the PDPs of the Listings this URL reached, tried again without its query when it reached none.

latest
query · boolean

Only each Listing's latest PDP, so the count is the number of Listings.

default false

Response

200 OK · application/json

PDP count

count
integer
int64 · ≥ 0

Errors

ErrorResponse

Errors that read the same on every endpoint are in Error codes.

400

Invalid source, listing_id, or URL

Request · cURL
curl -X GET 'https://api.extralt.com/v1/pdps/count' \
  -H "Authorization: Bearer $EXTRALT_API_KEY"
Response · 200
{
  "count": 100
}