# Digital Nomad City Index

> Digital Nomad City Index is a paid API for AI agents from apiwitchcraft.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns a digital-nomad suitability ranking and index score for a given city

## Facts

- Endpoint: GET https://apiwitchcraft.duckdns.org/nomad-index
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/digital-nomad-city-index-fd41bb0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bQH12VrglPjwEslcega0p

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 digital-nomad-city-index-fd41bb0e
```

Example prompt: What's the digital nomad index score for Lisbon — is it a good city for remote workers?

## When to prefer this

Use this endpoint when you need a pre-computed nomad-friendliness index score for a specific city, rather than building your own composite from raw data sources. Best for quickly surfacing ranked suitability for remote workers without needing to aggregate cost-of-living, connectivity, and community data yourself.

## Known failure modes

- City name not recognized or not in dataset — returns error or empty result
- Missing required 'city' query parameter — returns 400 or validation error
- City spelled incorrectly — may return no results
- Payment not processed — returns 402 Payment Required
- Service unavailable on duckdns host — returns 503 or timeout

## How this service works

Pay-per-query digital nomad visa index covering 70+ countries that let remote workers live abroad legally. For any country, return visa name, eligibility, minimum income threshold, required documents, duration, application URL, and tax notes. Compare remote-work and nomad visa programs side by side, check whether your income qualifies, and plan where you can work from next — one structured API call, paid in USDC.

## Output

Returns a digital-nomad index ranking or score for the queried city, likely including metrics related to cost of living, internet quality, community, weather, or overall suitability for location-independent workers.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "city"
     ],
     "properties": {
      "city": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/digital-nomad-city-index-fd41bb0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apiwitchcraft.duckdns.org](https://www.zero.xyz/host/apiwitchcraft.duckdns.org/llms.txt)
