Free overview - get total country count and sample data. Try before you buy.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://agile-rejoicing-production.up.railway.app/entrypoints/overview/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {}
}
'
Get comprehensive details for a country by ISO code (US, GB, AU) or name
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "ISO 2/3 letter code or country name"
}
},
"required": [
"query"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://agile-rejoicing-production.up.railway.app/entrypoints/lookup/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"query": "<ISO 2/3 letter code or country name>"
}
}
'
Search countries by partial name, currency code, or language code
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search term"
},
"by": {
"default": "name",
"type": "string",
"enum": [
"name",
"currency",
"language"
]
},
"limit": {
"default": 10,
"type": "number"
}
},
"required": [
"query",
"by",
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://agile-rejoicing-production.up.railway.app/entrypoints/search/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"query": "<Search term>",
"by": "name",
"limit": 0
}
}
'
Get all countries in a region (Africa, Americas, Asia, Europe, Oceania) or subregion
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"region": {
"type": "string",
"description": "Region name (Africa, Americas, Asia, Europe, Oceania) or subregion"
},
"subregion": {
"default": false,
"description": "Set true if querying a subregion",
"type": "boolean"
}
},
"required": [
"region",
"subregion"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://agile-rejoicing-production.up.railway.app/entrypoints/region/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"region": "<Region name (Africa, Americas, Asia, Europe, Oceania) or subregion>",
"subregion": true
}
}
'
Get a country and full details of all its bordering neighbors
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO code or country name"
}
},
"required": [
"country"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://agile-rejoicing-production.up.railway.app/entrypoints/neighbors/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"country": "<ISO code or country name>"
}
}
'
Compare multiple countries side by side - population, area, GDP, languages, etc.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"countries": {
"minItems": 2,
"maxItems": 10,
"type": "array",
"items": {
"type": "string"
},
"description": "Array of ISO codes or country names"
}
},
"required": [
"countries"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://agile-rejoicing-production.up.railway.app/entrypoints/compare/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"countries": [
"string"
]
}
}
'