Definition
The getSupportedCountryCodes API Command will display for each search engine what countries are available for tracking.
Cost
Using this command consumes 1 credit.
Module
The command is included in the Campaign API Module and will only consume credits assigned for Campaign API Operations.
Parameters
| se | The search engine supported. (google, yahoo or bing) |
Input URL Example
http://api.cognitiveseo.com/command.php?apiKey=your_api_code&command=getSupportedCountryCodes&se=google
Output Example
Running this command will result in the following JSON output:
{
"api": "cognitiveSEO API",
"data": {
"status": "success",
"data": {
"en-au": "Australia - English",
"de-at": "Austria - German",
"nl-be": "Belgium - Dutch",
"en-be": "Belgium - English",
"fr-be": "Belgium - French",
"pt-br": "Brazil",
"bg-bg": "Bulgaria",
"en-ca": "Canada - English",
"fr-ca": "Canada - French",
"ca-ct": "Spain - Catalan",
"es-cl": "Chile",
"zh-cn": "China",
"es-co": "Colombia",
"hr-hr": "Croatia",
"cs-cz": "Czech Republic",
"da-dk": "Denmark",
"et-ee": "Estonia",
"fi-fl": "Finland",
"fr-fr": "France",
"de-de": "Germany",
"el-gr": "Greece",
"zh-hk-hk": "Hong Kong - Chinese",
"hu-hu": "Hungary",
"en-in": "India - English",
"en-id": "Indonesia - English",
"id-id": "Indonesia - Indonesian",
"en-ie": "Ireland - English",
"he-il": "Israel - Hebrew",
"it-it": "Italy",
"ja-jp": "Japan",
"ko-kr": "Korea",
"lv-lv": "Latvia",
"lt-lt": "Lithuania",
"en-my": "Malaysia - English",
"ms-my": "Malaysia - Malay",
"es-mx": "Mexico",
"nl-nl": "Netherlands",
"en-nz": "New Zealand - English",
"no-no": "Norway",
"es-pe": "Peru",
"en-ph": "Philippines - English",
"tl-ph": "Philippines - Tagalog",
"pl-pl": "Poland",
"pt-pt": "Portugal",
"es-pr": "Puerto Rico",
"ro-ro": "Romania",
"ru-ru": "Russia",
"sr-rs": "Serbia",
"en-sg": "Singapore - English",
"sk-sk": "Slovakia - Slovak",
"sl-si": "Slovenia",
"en-za": "South Africa - English",
"es-es": "Spain",
"sv-se": "Sweden",
"en-ch": "Switzerland - English",
"fr-ch": "Switzerland - French",
"de-ch": "Switzerland - German",
"it-ch": "Switzerland - Italian",
"rm-ch": "Switzerland - Rumantsch",
"th-th": "Thailand - Thai",
"tr-tr": "Turkey",
"uk-ua": "Ukraine",
"ar-ae": "United Arab Emirates - Arabic",
"en-uk": "United Kingdom",
"en-us": "United States - English",
"es-us": "United States - Spanish",
"es-ve": "Venezuela",
"vi-vn": "Vietnam",
"zh-cn-tw": "Taiwan - Chinese",
"es-ec": "Ecuador"
},
"credits": 1
},
"time": 0.18
}
Output Details
| status | The status of the command (success or error). |
| data | Which country is supported. |
| credits | The credit cost of the command. |
| time | The time it took to process the command. |