# Shoal API – Get Organization by ID

> Shoal API – Get Organization by ID is a paid API for AI agents from api.shoal.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

Retrieves organization data from the Shoal platform by a specified organization ID, using pay-per-request access via x402.

## Facts

- Endpoint: GET https://api.shoal.xyz/v1/organizations/byOrganizationId?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shoal-api-get-organization-by-id-d2b7804e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nz5J9B8YIoi77V6nQyg2d

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 shoal-api-get-organization-by-id-d2b7804e
```

Example prompt: Can you look up the organization with ID 'org_abc123' on Shoal and tell me what data comes back?

## When to prefer this

Use this endpoint when you need to look up a specific organization by its Shoal organization ID without needing a pre-registered API key, leveraging x402 pay-per-request micropayment access at $0.005 USDC per call.

## Known failure modes

- Organization ID not found — empty or null data object returned
- Invalid or missing organization ID parameter — 400 or similar error response
- Payment failure via x402 — 402 Payment Required if USDC micropayment not fulfilled
- Network or server error — 500-level response from api.shoal.xyz

## How this service works

Pay-per-request API access with no API key required.

## Output

A JSON object containing organization data fields for the requested organization ID, returned under a 'data' key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shoal-api-get-organization-by-id-d2b7804e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.shoal.xyz](https://www.zero.xyz/host/api.shoal.xyz/llms.txt)
