GET v1​/ provinces​/:country_code

Endpoint to get the province list for a given Country.

By now, only italian provinces are servedfrom this endpoint.

Instant gratification

Do it yourself from console!

Assuming that you have a valid token previously exported into BEARER env variable.

Try to fetch all the provinces of Italy.
curl --get -i -H "Authorization: Bearer $BEARER" \
https://api.blomming.com/v1/provinces/IT

Response

Example Response

[
  {
    "code": "VB",
    "name": "Verbano-Cusio-Ossola"
  }
]

Response Parameters

  • Type: array
  • Items

    A list of provinces.

    • Required: yes
    • code

      The code of the province.

      • Required: yes
      • Type: string
      • Example: "VB"
    • name

      The name of the province.

      • Required: yes
      • Type: string
      • Example: "Verbano-Cusio-Ossola"

Response Codes

Successful Response Codes

Failure Response Codes