# Netto Store Finder API Documentation

`GET /api/netto/stores` returns public stores inside a bounding box as structured JSON.

## What you get

Each store has `store_id`, `store_name`, `street`, `post_code`, `city`, `state`, numeric `latitude` and `longitude`, opening data, `is_closed` and `is_delivery`. Pass `store_id` unchanged to the offers endpoint.

## Bounding box

`s` and `n` are south and north latitude. `w` and `e` are west and east longitude. `s` must not exceed `n`, and `w` must not exceed `e`.

## Credits

A successful request costs **1 credit**. Errors and challenges cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/netto-api/netto_stores](https://scrappa.co/docs/netto-api/netto_stores)
- **API group:** Netto API
- **Endpoint:** `GET https://scrappa.co/api/netto/stores`

## 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 |
| --- | --- | --- | --- |
| `s` | number | Yes | South latitude of the bounding box. |
| `n` | number | Yes | North latitude of the bounding box. |
| `w` | number | Yes | West longitude of the bounding box. |
| `e` | number | Yes | East longitude of the bounding box. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/netto/stores?s=49.09&n=49.23&w=11.88&e=12.32"
```

## Example response

```json
{
    "success": true,
    "stores": [
        {
            "store_id": "12345",
            "store_name": "Netto Filiale N\u00fcrnberg",
            "street": "Beispielstra\u00dfe 1",
            "post_code": "90402",
            "city": "N\u00fcrnberg",
            "latitude": 49.15,
            "longitude": 11.08,
            "is_closed": false,
            "is_delivery": false
        }
    ],
    "meta": {
        "endpoint_family": "netto-stores",
        "billable": true,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing, unknown or outside the allowed values. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | The storefront could not be reached or answered with a challenge (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). Retryable and never billed. Clients are never rate limited. |

## 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)
