Countries

Display travel details for a destination.

The below example highlights procedures and restrictions that apply to anyone whose origin country is the USA. We highly suggest utilizing the country's endpoint with various filters to get specific datasets, a list of filters are located here

Attributes

curl --location -g --request GET 'https://requirements-api.sandbox.joinsherpa.com/v2/countries/ITA?key=<API_KEY>&include=restriction,procedure&filter[procedure.originCountries]=usa' \
{
    "meta": {
        "copyright": "Sherpa",
        "version": "2.8.3"
    },
    "data": {
        "id": "ITA",
        "type": "country",
        "attributes": {
            "type": "COUNTRY",
            "countryName": "Italy",
            "isoAlpha2": "IT",
            "isoAlpha3": "ITA",
            "citizenship": "Italian",
            "continent": "Europe",
            "lastUpdatedAt": "2022-02-11T20:55:00Z"
        },
        "relationships": {
            "restrictions": {
                "meta": {
                    "count": 4
                },
                "data": [
                    {
                        "id": "3463ec64-d9fc-4e02-a788-6bb6f58d1c02",
                        "type": "RESTRICTION"
                    },
                    {
                        "id": "76c93737-08a0-4a81-8e5d-1eb6ef5d8632",
                        "type": "RESTRICTION"
                    },
                    {
                        "id": "c9aa22e2-3a1f-440b-9e95-b02a7b6bdfa1",
                        "type": "RESTRICTION"
                    },
                    {
                        "id": "d96f91d9-47ab-40a3-acf2-004a253ea569",
                        "type": "RESTRICTION"
                    }
                ]
            },
            "procedures": {
                "meta": {
                    "count": 18
                },
                "data": [
                    {
                        "id": "023e781d-f714-40d1-9556-453f50e0a37b",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "47c62709-3997-4f26-9bf7-9153e2d53aa5",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "506c20c4-b62f-44c6-8b4b-f9592213cae8",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "6259ec31-cd32-49a5-9efa-f7b24885f35a",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "685e7079-ec32-484d-a75e-9800d90a5a3a",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "697fa3e2-0d35-4ba6-bfd5-07d9ef0e84fc",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "6ee9e2ff-c38f-49aa-b4c2-34373a9e3feb",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "714aff5c-00f7-4ef9-a852-54b993abad2e",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "764d02f2-c2a1-42a9-abc5-992e9e9adad2",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "7a9d5d74-aaf0-40ad-8d87-4a33b2d14ce3",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "805a2a12-faaf-4dfd-9415-1add515d7650",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "90854258-561b-41bc-b3c9-ab0d46605485",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "9e10b564-107b-43e9-9fbc-465d76135160",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "9e170760-a9cc-446b-9389-4be9f4e29022",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "b8eeb077-cad6-49db-ace1-d36adf47a07b",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "bef519cf-9444-4186-a104-b462a1345891",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "e56787b1-fb48-4658-b1c6-3cf3001f4576",
                        "type": "PROCEDURE"
                    },
                    {
                        "id": "fdcf4cf8-ea0b-44c0-a983-44baa731066f",
                        "type": "PROCEDURE"
                    }
                ]
            },
            "regions": {
                "data": [
                    {
                        "type": "REGION",
                        "id": "IT-25"
                    },
                    {
                        "id": "IT-62",
                        "type": "REGION"
                    },
                    {
                        "id": "IT-72",
                        "type": "REGION"
                    },
                    {
                        "type": "REGION",
                        "id": "IT-34"
                    }
                ],
                "meta": {
                    "count": 4
                }
            }
        }
    },
    "included": [
        {
            "id": "3463ec64-d9fc-4e02-a788-6bb6f58d1c02",
            "type": "RESTRICTION",
            "attributes": {
                "country": "ITA",
                "title": "Travel is allowed with restrictions",
                "description": "Travelers arriving from selected countries are allowed to enter Italy. Please check the documentation, quarantine, and/or testing requirements before traveling.",
                "more": [],
                "severity": 1,
                "documentLinks": [],
                "tags": [
                    "international",
                    "air",
                    "land",
                    "sea"
                ],
                "source": {
                    "sourceType": "GOVERNMENT",
                    "title": "Italian Health Ministry",
                    "url": "https://www.salute.gov.it/portale/nuovocoronavirus/dettaglioContenutiNuovoCoronavirus.jsp?lingua=italiano&id=5411&area=nuovoCoronavirus&menu=vuoto"
                },
                "lastUpdatedAt": "2022-02-24T16:22:00Z",
                "createdAt": "2022-01-30T20:20:00Z",
                "startDate": "2022-02-01T00:00:00Z",
                "endDate": "2022-02-28T23:59:00Z",

📘

View the API Reference


Did this page help you?