# PENNY Markets API Documentation

<p><strong>PENNY Markets API</strong> lists public PENNY markets with their wwIdent, sellingRegion and nextWeekSellingRegion values. Use a wwIdent with the market route and a sellingRegion with the count and offers routes.</p><p>An optional <code>query</code> filters by id, city or postcode and <code>limit</code> caps the answer. The catalog is cached on a miss, so repeated calls make no extra upstream lookup. Costs 1 credit per request on success; failures are free.</p>

- **Documentation:** [https://scrappa.co/docs/penny-api/penny_markets](https://scrappa.co/docs/penny-api/penny_markets)
- **API group:** PENNY API
- **Endpoint:** `GET https://scrappa.co/api/penny/markets`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | No | Optional filter on market id, city or postcode. |
| `limit` | integer | No | Maximum markets to return, 1 to 100 (default 50). |

## Example response

```json
{
    "data": {
        "count": 1,
        "markets": [
            {
                "id": "530027",
                "city": "Berlin",
                "selling_region": "15A-08-26",
                "next_week_selling_region": "15A-08-25"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "markets"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Upstream Unavailable | The source could not be reached. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
