# Saylor Innovations Humanitarian Data — Refugee Statistics by Country (UNHCR)

> Saylor Innovations Humanitarian Data — Refugee Statistics by Country (UNHCR) is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Returns UNHCR refugee statistics for a given country by ISO3 code, including refugees, asylum seekers, IDPs, and stateless people both originating from and hosted in that country.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/refugees/country?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-humanitarian-data-refugee-statistics-by-country-1d5e066b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QZchJ2VTq8jk9mkJQ8HVM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-humanitarian-data-refugee-statistics-by-country-1d5e066b
```

Example prompt: Can you pull the latest UNHCR refugee statistics for Syria — I want to know how many people have fled the country, how many are asylum seekers, and which countries are hosting the most Syrian refugees?

## When to prefer this

Use this endpoint when you need structured, country-level UNHCR humanitarian displacement statistics — including refugees, asylum seekers, IDPs, and stateless persons — for a specific country identified by ISO3 code. Prefer this over general web search when you need machine-readable, citable (CC BY 4.0) data with top host/origin country breakdowns, especially for agents building humanitarian dashboards, research reports, or policy analysis workflows.

## Known failure modes

- Invalid or unrecognized ISO3 country code returns found: false with empty data objects
- Country exists but has no UNHCR displacement data returns found: true with zero counts
- Missing required 'code' query parameter may return an error or empty result
- Network or upstream UNHCR data source outage
- Stale data if UNHCR has not yet published a new annual report

## How this service works

Refugee Statistics by Country (UNHCR). Refugee statistics by country (UNHCR) for the latest published year: refugees, asylum seekers, internally displaced and stateless people originating from a country with its top host countries, and people hosted in it with their top countries of origin. ISO3 code (SYR, UKR, DEU). UNHCR, CC BY 4.0.

## Output

A JSON object containing the most recently published UNHCR year of data, a boolean indicating whether the country was found, a 'from_this_country' object with refugee/asylum seeker/IDP/stateless counts and top host countries, and a 'hosted_in_this_country' object with hosted population totals and top countries of origin.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "code": {
       "type": "string",
       "description": "ISO 3166 alpha-3 country code, e.g. SYR, UKR, DEU (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "found"
     ],
     "properties": {
      "year": {
       "type": "number"
      },
      "found": {
       "type": "boolean"
      },
      "from_this_country": {
       "type": "object"
      },
      "hosted_in_this_country": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-humanitarian-data-refugee-statistics-by-country-1d5e066b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
