API Documentation of Contry Code List
Description
The Country Code List API provides a comprehensive list of country codes, facilitating seamless integration for global communication systems. By accessing this API, developers can effortlessly retrieve up-to-date country code data in JSON format.
Endpoint
GET /country-code-list
Example Usage
curl -X GET https://api.riseoxyai.com/country-code-list
Response
The API returns a JSON array containing objects with the following fields:
- code: The country code.
- name: The name of the country.
Example response:
[
{
"code": "+1",
"name": "United States"
},
{
"code": "+44",
"name": "United Kingdom"
},
...
]
Response Codes:
- 200: Successful retrieval of country code list.
- 404: Resource not found.
- 500: Internal server error.
License:
The data provided by this API is sourced from reputable sources and is made available under the terms of the Open Database License (ODbL).
For any inquiries or issues regarding the Country Code List API, please contact support@riseoxyai.com.