# Meterly.Ai YouTube Search API (youtube-138)

> Meterly.Ai YouTube Search API (youtube-138) is a paid API for AI agents from meterly-ai.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Searches YouTube for videos, channels, or content matching a query, returning results via pay-per-call USDC-based API infrastructure

## Facts

- Endpoint: POST https://meterly-ai.vercel.app/api/v1/youtube-138
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/meterly-ai-youtube-search-api-youtube-138-36dde1bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N1C7Fp-a-nzoKkBkuzsvh

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 meterly-ai-youtube-search-api-youtube-138-36dde1bb -d '<json body>'
```

Example prompt: Search YouTube for 'beginner guitar lessons' and give me up to 10 results — titles, links, and any channel info you can find.

## When to prefer this

Choose this endpoint when you need to search YouTube for videos or channels programmatically using a pay-per-call USDC micropayment model on Base Mainnet. Suitable for AI agents that need lightweight, on-demand YouTube search without managing a full YouTube Data API quota or key. Best for agents already operating within the x402 payment protocol ecosystem.

## Known failure modes

- Missing required 'query' field returns a validation error
- Invalid or malformed URL parameter may cause processing failure
- Query returns no results for obscure or misspelled search terms
- Rate limiting or payment failure via x402/USDC protocol blocks the request
- YouTube API quota exhaustion on the backend may return an error
- limit parameter set too high may be capped or cause timeout

## How this service works

Pay-per-call API infrastructure for AI agents, bots, and developers. Access 95+ premium APIs with USDC payments on Base Mainnet via x402 protocol.

## Output

Returns a JSON object containing YouTube search results matching the query, which may include video titles, URLs, channel names, descriptions, view counts, and other metadata available from the underlying YouTube data source. The response schema is open-ended (additionalProperties: true).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "URL to process"
      },
      "limit": {
       "type": "number",
       "description": "Maximum results to return"
      },
      "query": {
       "type": "string",
       "description": "Search query or input data"
      },
      "username": {
       "type": "string",
       "description": "Username or profile identifier"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/meterly-ai-youtube-search-api-youtube-138-36dde1bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meterly-ai.vercel.app](https://www.zero.xyz/host/meterly-ai.vercel.app/llms.txt)
