GET
/
public
/
user
/
country
/
retrieve
/
{country_id}
curl --request GET \
  --url https://api.pingproxies.com/1.0/public/user/country/retrieve/{country_id} \
  --header 'X-API-Private-Key: <api-key>' \
  --header 'X-API-Public-Key: <api-key>'
{
  "data": {
    "continent_id": "eu",
    "country_alias": "fr",
    "country_id": "fr",
    "country_is_european_union": true,
    "country_name": "France"
  },
  "message": "Country successfully retrieved."
}

Authorizations

X-API-Private-Key
string
header
required

Private API key for user-level authentication.

X-API-Public-Key
string
header
required

Public API key for user-level authentication.

Path Parameters

country_id
string
required

ID of the Country to retrieve

Response

200 - application/json
Successful Country Retrieve

Country retrieve was successful.

data
object

Retrieved Country item details.

message
string

Status message for the retrieval.