# Interzoid Get Nearest Coffee Shops

> Interzoid Get Nearest Coffee Shops is a paid API for AI agents from api.interzoid.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns a list of the nearest coffee shops to a given address or location reference

## Facts

- Endpoint: GET https://api.interzoid.com/getnearestcoffeeshops
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/interzoid-get-nearest-coffee-shops-449808de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C0eH-wMbBKQELJNryd_xY

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 interzoid-get-nearest-coffee-shops-449808de
```

Example prompt: What coffee shops are nearest to 201 Spear St, San Francisco, CA? I want to know the names and how far away each one is.

## When to prefer this

Use this endpoint when you need to programmatically find coffee shops near a specific address or location string, particularly within an automated workflow, CRM enrichment, or data pipeline context. Prefer this over general-purpose mapping APIs when you want a simple, pay-per-call enrichment with no API key setup beyond x402 payment.

## Known failure modes

- Invalid or unrecognized address returns an error code
- Missing required 'lookup' query parameter returns a 400-style error
- Address too ambiguous to resolve returns no results or error
- Insufficient credits returns a credits exhausted error

## How this service works

Find nearest coffee shops to a given address or location including names, addresses, distances, and basic details.

## Output

Returns a JSON object with a success code, a comma-separated list of nearby coffee shops with their distances in miles, and the resolved origin address used for the lookup.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "output": {
   "type": "application/json"
  },
  "queryParams": {
   "lookup": "201 Spear St, San Francisco, CA"
  }
 }
}
```

## 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": [
      "lookup"
     ],
     "properties": {
      "lookup": {
       "type": "string",
       "description": "Reference address or location to find coffee shops near"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "Code": "Success",
  "Shops": "Sightglass Coffee (0.3 mi), Blue Bottle Coffee (0.4 mi), Philz Coffee (0.5 mi)",
  "Origin": "201 Spear St, San Francisco CA",
  "Credits": "0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/interzoid-get-nearest-coffee-shops-449808de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.interzoid.com](https://www.zero.xyz/host/api.interzoid.com/llms.txt)
