# By code (ISO-2/3) REST Countries Reference Data

**Use case:** 

Extract REST Countries Reference Data data filtered by By code (ISO-2/3). Export structured results ready for analysis, lead generation, or research.

## Input

```json
{
  "maxItems": 10,
  "mode": "code",
  "value": ""
}
```

## Output

```json
{
  "flagPng": {
    "label": "Flag",
    "format": "image"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "cca2": {
    "label": "ISO-2",
    "format": "text"
  },
  "cca3": {
    "label": "ISO-3",
    "format": "text"
  },
  "capital": {
    "label": "Capital",
    "format": "text"
  },
  "region": {
    "label": "Region",
    "format": "text"
  },
  "subregion": {
    "label": "Subregion",
    "format": "text"
  },
  "population": {
    "label": "Population",
    "format": "number"
  },
  "areaKm2": {
    "label": "Area (km²)",
    "format": "number"
  },
  "currenciesText": {
    "label": "Currencies",
    "format": "text"
  },
  "languagesText": {
    "label": "Languages",
    "format": "text"
  },
  "tld": {
    "label": "TLD",
    "format": "text"
  },
  "callingCode": {
    "label": "Calling Code",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [REST Countries Reference Data Scraper](https://apify.com/parseforge/rest-countries-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/rest-countries-scraper) to learn more, explore other use cases, and run it yourself.