Skip to content
Scrappa Get API key
Subito.it API 1 credit/request

Subito.it Regions API Documentation

GET https://scrappa.co/api/subito/regions

Subito.it Regions API Documentation List the Italian regions with their integer keys. Use the key as r in search.

Subito.it Regions API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/subito/regions
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "count": 20,
        "regions": [
            {
                "key": 13,
                "name": "Abruzzo"
            },
            {
                "key": 17,
                "name": "Basilicata"
            },
            {
                "key": 18,
...

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": {
        "count": 20,
        "regions": [
            {
                "key": 13,
                "name": "Abruzzo"
            },
            {
                "key": 17,
                "name": "Basilicata"
            },
            {
                "key": 18,
                "name": "Calabria"
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "regions"
    },
    "success": true
}

Errors

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

503

Invalid Source Response

Subito answered with a shape that no longer matches the documented contract. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "regions"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "Subito returned an unexpected response. Please retry later."
    },
    "success": false
}
503

Service Unavailable

The upstream service is temporarily unavailable. Please retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "regions"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Subito service is temporarily unavailable. Please retry."
    },
    "success": false
}

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.