Get information about countries
Parameter | Type | Requirement | Explanation |
---|---|---|---|
name | string | required | Search by country name. It can be the native name or partial name |
curl -H "Authorization: {api_key}" "https://api.apishub.com/api/abdulqadir/country-info-api"
GET curl -H "Authorization: {api_key}" -L "{{url}}"
HTTP response codes to indicate the success or failure of an API request.
Code | Status | Explanation |
---|---|---|
200 | OK | Successful request. |
400 | Bad Request | Invalid request, or invalid parameters . |
403 | Authentication | Not authorized. |
404 | Not Found | The resource requested was not found. |
5xx | Server Error | A fatal error occurred while processing the request. Try again. |
All errors will be JSON object with a String array of errors:
{
"errors": ["Malformed request"]
}
Plan | API Calls | Price | |
---|---|---|---|
Basic | 10000 | $5/Month | Get this |
Starter | 30000 | $10/Month | Get this |
Professional | 50000 | $15/Month | Get this |
Professional Plus | 100000 | $50/Month | Get this |