Skip to content
Scrappa Get API key
PENNY API 1 credit / request

PENNY Regional Count API Documentation

GET https://scrappa.co/api/penny/count

PENNY Regional Count API returns the total number of regional offers for one week and selling region. This is a count only, never a product list. Use the markets route to find a selling region value.

Send the ISO week from the discovery route and a region from the markets route. A 404 week returns a count of zero and is free. Costs 1 credit per request on success; zero counts and failures are free.

PENNY Regional Count API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/penny/count
Auth header
x-api-key
Cost
1 credit / request
week = example region = US
Response preview
200 OK
{
    "data": {
        "week": "2026-48",
        "count": 38,
        "region": "15A-08-26"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "count"
    },
    "success": true
}

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

week string Required

ISO week from the discovery route, e.g. 2026-48.

Example value example
region string Required

sellingRegion value from the markets route, e.g. 15A-08-26.

Example value US

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "week": "2026-48",
        "count": 38,
        "region": "15A-08-26"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "count"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required parameter or a value is invalid. This response is not billable.

{
    "errors": {
        "region": [
            "The region is a sellingRegion value from the markets route."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

The source could not be reached. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "count"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "PENNY could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.