# EmbassyPages API

> EmbassyPages returns embassy and consulate listings with mission details as a workflow and API.

EmbassyPages finds embassies and consulates representing one country in another country or city, using the Search embassies method. Search embassies needs the country a mission represents and the country or city where it is located; results include mission details when listed.

- Page: https://fous.com/tools/embassypages
- Handle: `@embassypages`
- Category: [Travel](https://fous.com/tools/category/travel)
- Source website: https://embassypages.com
- Last verified: Sep 29, 2026

## Methods

### Search embassies

Operation `search_embassies`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Find a country’s embassies and consulates in another country or city, in EmbassyPages listing order, with contact details shown on each mission page. Contact fields that are not listed are null.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `embassy_of` | string | yes | `"India"` | Country the mission represents, for example India. |
| `located_in` | string | yes | `"Frankfurt"` | Country or city where the mission is located, for example Germany or Frankfurt. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "embassy_of",
    "located_in"
  ],
  "properties": {
    "embassy_of": {
      "type": "string",
      "description": "Country the mission represents, for example India.",
      "examples": [
        "India",
        "France"
      ]
    },
    "located_in": {
      "type": "string",
      "description": "Country or city where the mission is located, for example Germany or Frankfurt.",
      "examples": [
        "Frankfurt",
        "Germany"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "embassy_of": "India",
      "located_in": "Frankfurt"
    },
    {
      "embassy_of": "India",
      "located_in": "Germany"
    },
    {
      "embassy_of": "France",
      "located_in": "Germany"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `missions` | array |  | Matching missions in EmbassyPages listing order. |
| `missions[].city` | string | `"Frankfurt am Main"` | City where the mission is located. |
| `missions[].type` | string | `"consulate general"` | Type of mission. |
| `missions[].email` | string or null | `"consulategeneral@consulateatgeneralifrankfurt.de"` | Email address shown, or null. |
| `missions[].phone` | string or null | `"(+49) 69-1530050"` | Phone number or numbers shown, or null. |
| `missions[].page_link` | string | `"https://www.embassypages.com/india-consulategeneral-frankfurtammain-germany"` | EmbassyPages link to the mission page. |
| `missions[].mission_name` | string | `"Consulate General of India in Frankfurt am Main, Germany"` | Name of the diplomatic mission. |
| `missions[].office_hours` | string or null | `"Monday: 09.30-12.30; Tuesday: 09.30-12.30; Wednesday: 09.30-12.30; Thursday: 09.30-12.30; Friday: 09.30-12.30; Saturday` | Office hours shown, or null. |
| `missions[].website_link` | string or null |  | Official website link shown, or null. |
| `missions[].street_address` | string or null | `"17, Rue Mansoura, El Menzah IV"` | Street address shown for the mission, or null. |
| `missions[].head_of_mission` | string or null | `"Mr Ashok Kumar, Consul General"` | Head of mission shown, or null. |

**Example input**

```json
{
  "embassy_of": "India",
  "located_in": "Frankfurt"
}
```

**Example output**

```json
{
  "missions": [
    {
      "city": "Frankfurt am Main",
      "type": "consulate general",
      "email": "consulategeneral@consulateatgeneralifrankfurt.de",
      "phone": "(+49) 69-1530050",
      "page_link": "https://www.embassypages.com/india-consulategeneral-frankfurtammain-germany",
      "mission_name": "Consulate General of India in Frankfurt am Main, Germany",
      "office_hours": "Monday: 09.30-12.30; Tuesday: 09.30-12.30; Wednesday: 09.30-12.30; Thursday: 09.30-12.30; Friday: 09.30-12.30; Saturday: Closed; Sunday: Closed",
      "website_link": null,
      "street_address": "17, Rue Mansoura, El Menzah IV",
      "head_of_mission": "Mr Ashok Kumar, Consul General"
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@embassypages",
  "visibility": "public",
  "operation": "search_embassies",
  "version": 1,
  "input": {
    "embassy_of": "India",
    "located_in": "Frankfurt"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@embassypages\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_embassies\",\n  \"version\": 1,\n  \"input\": {\n    \"embassy_of\": \"India\",\n    \"located_in\": \"Frankfurt\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@embassypages",
  "visibility": "public",
  "operation": "search_embassies",
  "version": 1,
  "input": {
    "embassy_of": "India",
    "located_in": "Frankfurt"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/embassypages`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `search_embassies`: Search embassies. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-embassypages https://api.fous.com/mcp/tools/embassypages --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Find a country’s embassies in another country
- Locate consulates in a city
- Collect mission contact details
- Review listed office hours and addresses
- Identify mission heads

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this EmbassyPages tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a EmbassyPages account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from embassypages.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### Where are a country’s embassies and consulates located?

Search embassies returns matching missions by country or city.

### What contact details are listed for a mission?

Search embassies returns listed email addresses, phone numbers, street addresses, and office hours.

## Related

- [US State Department API](https://fous.com/tools/us-state-department.md): US State Department provides current travel advisories, entry rules, embassy and consulate contacts, and published monthly visa bulletin dates; guidance may be incomplete; consular agencies are excluded.
- [Passport Index API](https://fous.com/tools/passport-index.md): Passport Index provides passport and destination visa information, including entry guidance, permitted stays, rankings and mobility scores; travelers should confirm current entry rules with the embassy.
- [Expedia API](https://fous.com/tools/expedia.md): Expedia helps travelers find hotels, vacation stays, and travel deals, with hotel prices and flight options for selected destinations and dates; flight listings may be limited.
- [GOV.UK API](https://fous.com/tools/gov-uk.md): GOV.UK provides summarized current travel advice with linked details, published regional holidays (none for unpublished years), and possible matches on the current UK Sanctions List.
- [Hostelworld API](https://fous.com/tools/hostelworld.md): Hostelworld accommodation search and booking
- [Britannica API](https://fous.com/tools/britannica.md): Britannica returns public encyclopedia articles with introductions, quick facts, headings, update dates and images, plus search results with titles, descriptions, links and images when shown.
- [Yellow Pages API](https://fous.com/tools/yellow-pages.md): Find local US businesses and their contact details on Yellow Pages.
- [Tripadvisor API](https://fous.com/tools/tripadvisor.md): Tripadvisor provides traveler-ranked first-page city listings of attractions, restaurants and hotels, plus latest reviews; hotel prices and booking sites depend on supplied stay dates and availability.
- [All Travel tools](https://fous.com/tools/category/travel)
