countries

all countries

Entry Information

countries Details

📚 API Documentation

You can also submit data programmatically using our REST API. Below are examples in different programming languages.

💡 Quick Start

Download the complete OpenAPI specification using the button above, or access it at:

https://your-domain.com/api/v1/types/countries/openapi.json

API Endpoint

GET/POST /api/v1/types/countries/data

Authentication

POST requests require Firebase Authentication token in the Authorization header:

Authorization: Bearer YOUR_ACCESS_TOKEN

Request Body (POST)

{
  "name": "Example countries",
  "description": "This is an example countries entry",
  "customData": {
    "emoji": "example value",
    "name": "example value",
    "officialName": "example value",
    "sovereignty": "example value",
    "alpha2": "example value",
    "alpha3": "example value",
    "numeric": "example value"
  },
  "tags": [
    "example",
    "api"
  ]
}

Query Parameters (GET)

  • limit - Number of results (default: 20, max: 100)
  • offset - Pagination offset (default: 0)
  • search - Search query for name/description
  • tag - Filter by tag