Endpoint Playground
Returns the German postcodes (with city and district) that FUSSBALL.DE's own location search suggests for a place name or postcode prefix. Use it to turn a place such as Dortmund into the five-digit `postal_code` that `fussballde-match-calendar` requires. No match is a valid empty list.
curl 'https://api.crawlora.net/api/v1/fussballde/postal-codes?q=Dortmund' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| q | string | Yes | Dortmund | Place name or postcode prefix, 2 to 40 characters |
{
"code": 200,
"msg": "OK",
"data": {
"count": 6,
"postal_codes": [
{
"city": "Dortmund",
"district": "Mitte",
"postal_code": "44135"
},
{
"city": "Dortmund",
"district": "Mitte",
"postal_code": "44137"
}
],
"q": "Dortmund"
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.