# ApexAPI YouTube Script Generator

> ApexAPI YouTube Script Generator is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.198008/call, status unknown (last checked 2026-10-13).

Generates a YouTube video script based on a search query or topic input

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/youtube/script?utm_source=zero.xyz
- Price: $0.198008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-youtube-script-generator-6a095b48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y1sIVAzHRGzdlSaBhn2Lj

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 apexapi-youtube-script-generator-6a095b48 -d '<json body>'
```

Example prompt: Write me a YouTube video script about the top 5 beginner investing mistakes — something engaging and educational, around 8 minutes long.

## When to prefer this

Use this endpoint when you need to quickly generate a ready-to-use YouTube video script from a topic or keyword, without requiring a separate AI writing tool or API key setup. Ideal for content creators, automation pipelines, or agents building social media workflows that pay per use in USDC.

## Known failure modes

- Empty or vague query resulting in a generic or low-quality script
- Query too broad causing unfocused output
- Service timeout if the AI generation takes too long
- HTTP 402 if payment in USDC on Base is not completed
- Malformed response if the backend AI model is unavailable

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a generated YouTube video script based on the provided topic or query, including structured narration, sections, or dialogue suitable for a video creator to read or record.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-youtube-script-generator-6a095b48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
