# FastX402 Subtitle VTT/SRT Parser

> FastX402 Subtitle VTT/SRT Parser is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-28).

Parses SRT or WebVTT subtitle file content into structured timed blocks and plain text

## Facts

- Endpoint: GET https://fastx402.tools/subtitles-vtt-parse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-subtitle-vtt-srt-parser-0d373f8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DVuLHg1WpR1PqPuX0qMIr

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 fastx402-subtitle-vtt-srt-parser-0d373f8d
```

Example prompt: Can you parse this WebVTT subtitle content for me and give me both the structured timed blocks and the plain text transcript? Here's the content: 'WEBVTT

00:00:01.000 --> 00:00:04.000
Hello world

00:00:05.000 --> 00:00:08.000
This is a test'

## When to prefer this

Choose this endpoint when you need to programmatically parse SRT or WebVTT subtitle file content into structured JSON without setting up an account or API key — ideal for lightweight, pay-per-call subtitle processing in agent workflows where you occasionally need to convert caption files to timed blocks or plain text transcripts.

## Known failure modes

- Malformed or invalid SRT/WebVTT syntax may produce incomplete or empty block arrays
- Missing 'content' query parameter returns an error
- Non-subtitle text content passed as input may return empty blocks or garbled output
- Very large subtitle files may hit query string length limits when passed as a GET parameter

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

Returns a JSON object containing an array of timed subtitle blocks (each with 'start', 'end', and 'text' fields in HH:MM:SS.mmm format) and a 'plain_text' field with all subtitle text joined by newlines, stripped of timing information.

## 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": [
      "content"
     ],
     "properties": {
      "content": {
       "type": "string",
       "description": "SRT or WebVTT subtitle file content"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "blocks": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "end": {
          "type": "string"
         },
         "text": {
          "type": "string"
         },
         "start": {
          "type": "string"
         }
        }
       }
      },
      "plain_text": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "blocks": [
   {
    "end": "00:00:04.000",
    "text": "Hello world",
    "start": "00:00:01.000"
   },
   {
    "end": "00:00:08.000",
    "text": "This is a test",
    "start": "00:00:05.000"
   }
  ],
  "plain_text": "Hello world\nThis is a test"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-subtitle-vtt-srt-parser-0d373f8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
