# Atlys — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Discover visa requirements and pricing for destinations worldwide by browsing available countries and viewing detailed information including visa types, validity periods, government fees, and required documents. Plan your international travel with transparent cost breakdowns and all necessary documentation details in one place.

**Category:** Travel | **Website:** [atlys.com/](https://atlys.com/) | **Docs:** [parse.bot/marketplace/b7463269-7695-4802-a617-3bf51850b3e6/atlys-com-api](https://parse.bot/marketplace/b7463269-7695-4802-a617-3bf51850b3e6/atlys-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-atlys-com-api-b7463269/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_country_visa_details

Get detailed visa information for a specific destination country including pricing breakdown, visa type, process type, validity, length of stay, and required documents. The country_code must be one returned by list_visa_countries. Returns stale_input if the country is not found for the given citizenship/residence combination.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `citizenship` | string | No | ISO 3166-1 alpha-2 country code for the traveler's citizenship (e.g. 'IN', 'US'). |
| `country_code` | string | Yes | ISO 3166-1 alpha-2 destination country code (e.g. 'KE', 'VN', 'TH'). |
| `residence` | string | No | ISO 3166-1 alpha-2 country code for the traveler's country of residence (e.g. 'IN', 'US'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-atlys-com-api-b7463269/get_country_visa_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"citizenship":"<string>","country_code":"<string>","residence":"<string>"}'
```

### list_visa_countries

List all countries Atlys offers visa services for, with pricing breakdown showing total price, government fee, and Atlys service fee. Returns both supported (active) and unsupported (coming soon) destinations. Each country includes visa type, validity period, length of stay, and entry type when available. Paginated as a single page containing all results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `citizenship` | string | No | ISO 3166-1 alpha-2 country code for the traveler's citizenship (e.g. 'IN', 'US'). |
| `residence` | string | No | ISO 3166-1 alpha-2 country code for the traveler's country of residence (e.g. 'IN', 'US'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-atlys-com-api-b7463269/list_visa_countries \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"citizenship":"<string>","residence":"<string>"}'
```
