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

PENNY Market API Documentation

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

PENNY Market API returns one public PENNY market by its wwIdent from the markets route, with region values and address fields.

Send the id (wwIdent) exactly as the markets route returns it. An unknown id answers an empty result and is free. Costs 1 credit per request on success; not found and failures are free.

PENNY Market API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/penny/market
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "market": {
            "id": "530027",
            "city": "Berlin",
            "selling_region": "15A-08-26",
            "next_week_selling_region": "15A-08-25"
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "market"
    },
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

id string Required

wwIdent from the markets route, e.g. 530027.

Example value 1234567890

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": {
        "market": {
            "id": "530027",
            "city": "Berlin",
            "selling_region": "15A-08-26",
            "next_week_selling_region": "15A-08-25"
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "market"
    },
    "success": true
}

Errors

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

422

Validation Error

The id is missing or invalid. This response is not billable.

{
    "errors": {
        "id": [
            "The id is the public wwIdent from the markets route, e.g. 530027."
        ]
    },
    "message": "The request validation failed"
}

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.