Welcome to Countries API! Start exploring!
Educational Platform
Live & Interactive

Countries API Playground 🌍

Master AI-driven test generation, API testing workflows, and intelligent test data creation in an interactive, hands-on environment designed for developers and QA engineers.

25+
API Endpoints
∞
Test Scenarios
24/7
Available
Reset Schedule: All data automatically resets every hour to maintain a clean testing environment
AI Test Generation

Leverage AI to create comprehensive API tests with realistic datasets, edge cases, and validation scenarios automatically.

Machine Learning Smart Testing
API Testing Lab

Practice API testing fundamentals: response validation, error handling, schema conformance, and performance testing in a safe sandbox.

REST API Swagger UI
Smart Test Data

Generate consistent, realistic test data for automated workflows. Perfect for CI/CD pipelines and regression testing suites.

JSON Automation
Interactive API Examples

Click any example to copy to clipboard:

GET /countriesapi/countries Click to copy
Retrieve all countries with optional filtering
GET /countriesapi/countries?code=FR Click to copy
Filter countries by ISO code
POST /countriesapi/add_country Click to copy
Create new country entries
{
  "name": "Germany",
  "code": "DE",
  "capital": "Berlin",
  "area": 357386,
  "population": 83240525
}
Ready-to-Use Assets
Sample Data (6 countries)
  • France (FR) - 67.3M
  • Lebanon (LB) - 6.8M
  • UAE (AE) - 9.9M
  • Germany (DE) - 83.2M
  • Japan (JP) - 125.6M
  • Brazil (BR) - 215.3M
Form Templates
  • new_country.html
  • update_country.html
  • delete_country.html

Featured Countries

Live data from our playground
πŸ‡«πŸ‡·
France
Code: FR
Capital
Paris
Population
67.3M
πŸ‡±πŸ‡§
Lebanon
Code: LB
Capital
Beirut
Population
6.8M
πŸ‡¦πŸ‡ͺ
UAE
Code: AE
Capital
Abu Dhabi
Population
9.9M
πŸ‡©πŸ‡ͺ
Germany
Code: DE
Capital
Berlin
Population
83.2M
πŸ‡―πŸ‡΅
Japan
Code: JP
Capital
Tokyo
Population
125.6M
πŸ‡§πŸ‡·
Brazil
Code: BR
Capital
BrasΓ­lia
Population
215.3M
URL Parameters Demo

Test dynamic parameter handling:

Try: /countriesapi/?sample=hello&mode=demo&user=developer

Add parameters in the url as key value and they will be shown here below.

Parameters in URL :

  • mode = demo
  • sample = hello
  • user = developer