# List stores

Find Lidl stores in GB and Germany by city URL, or France through its public store API with optional nearby coordinates.

- Platform: [Lidl](https://docs.upscrape.com/docs/platforms/lidl)
- Capability ID: `lidl.stores.list`
- Cost: 1 credit per request
- Maximum runtime: 45 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "limit": 3,
    "url": "https://www.lidl.co.uk/s/en-GB/store-finder/london/"
  },
  "capability": "lidl.stores.list"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `latitude` | `number` | No | Latitude in decimal degrees. From -90 to 90. |
| `limit` | `integer` | No | Maximum number of results to return. From 1 to 100. Default: `25`. |
| `longitude` | `number` | No | Longitude in decimal degrees. From -180 to 180. |
| `radius_km` | `integer` | No | France nearby radius in kilometres; requires latitude and longitude. Default 10 when coordinates are supplied. From 1 to 100. |
| `url` | `string` | Yes | Official GB or DE store-finder city URL, or https://www.lidl.fr/ for France. France optionally accepts nearby coordinates. |

### Example input

```json
{
  "limit": 3,
  "url": "https://www.lidl.co.uk/s/en-GB/store-finder/london/"
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "count": 83,
  "country": "GB",
  "returned": 3,
  "source_url": "https://www.lidl.co.uk/s/en-GB/store-finder/london/",
  "stores": [
    {
      "address": {
        "city": "London",
        "latitude": 51.43104,
        "longitude": -0.1294,
        "postal_code": "SW16 1BB",
        "street_name": "Streatham High Road",
        "street_number": "222"
      },
      "id": "GB00034",
      "name": "Streatham",
      "opening_hours": {
        "items": [
          {
            "date": "2026-09-24",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-24T07:00:00",
                "to": "2026-09-24T22:00:00"
              }
            ]
          },
          {
            "date": "2026-09-25",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-25T07:00:00",
                "to": "2026-09-25T22:00:00"
              }
            ]
          },
          {
            "date": "2026-09-26",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-26T07:00:00",
                "to": "2026-09-26T22:00:00"
              }
            ]
          }
        ],
        "timeZone": "Europe/London"
      },
      "services": [
        "1",
        "9",
        "3"
      ],
      "status": {
        "from": null,
        "name": "open",
        "to": null
      }
    },
    {
      "address": {
        "city": "London",
        "latitude": 51.44854,
        "longitude": -0.4092,
        "postal_code": "TW14 9BG",
        "street_name": "New Road"
      },
      "id": "GB00058",
      "name": "Feltham",
      "opening_hours": {
        "items": [
          {
            "date": "2026-09-24",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-24T07:00:00",
                "to": "2026-09-24T23:00:00"
              }
            ]
          },
          {
            "date": "2026-09-25",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-25T07:00:00",
                "to": "2026-09-25T23:00:00"
              }
            ]
          },
          {
            "date": "2026-09-26",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-26T07:00:00",
                "to": "2026-09-26T23:00:00"
              }
            ]
          }
        ],
        "timeZone": "Europe/London"
      },
      "services": [
        "1",
        "9",
        "3"
      ],
      "status": {
        "from": null,
        "name": "open",
        "to": null
      }
    },
    {
      "address": {
        "city": "London",
        "latitude": 51.46468,
        "longitude": -0.16736,
        "postal_code": "SW11 2LG",
        "street_name": "Falcon Lane"
      },
      "id": "GB00134",
      "name": "Clapham",
      "opening_hours": {
        "items": [
          {
            "date": "2026-09-24",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-24T07:00:00",
                "to": "2026-09-24T23:00:00"
              }
            ]
          },
          {
            "date": "2026-09-25",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-25T07:00:00",
                "to": "2026-09-25T23:00:00"
              }
            ]
          },
          {
            "date": "2026-09-26",
            "reason": "REGULAR",
            "timeRanges": [
              {
                "from": "2026-09-26T07:00:00",
                "to": "2026-09-26T23:00:00"
              }
            ]
          }
        ],
        "timeZone": "Europe/London"
      },
      "services": [
        "1",
        "3",
        "35"
      ],
      "status": {
        "from": null,
        "name": "open",
        "to": null
      }
    }
  ]
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `count` | `integer` | 83 |
| `country` | `string` | GB |
| `returned` | `integer` | 3 |
| `source_url` | `string` | https://www.lidl.co.uk/s/en-GB/store-finder/london/ |
| `stores` | `array` | 3 items |
| `stores` | `array` | 3 items |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
