{"uid":"cap_DVuLHg1WpR1PqPuX0qMIr","slug":"fastx402-subtitle-vtt-srt-parser-0d373f8d","name":"FastX402 Subtitle VTT/SRT Parser","description":"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.","url":"https://fastx402.tools/subtitles-vtt-parse?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GS04zcoZELxbCTlcBHpYd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses SRT or WebVTT subtitle file content into structured timed blocks and plain text","exampleAgentPrompt":"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\n\n00:00:01.000 --> 00:00:04.000\nHello world\n\n00:00:05.000 --> 00:00:08.000\nThis is a test'","exampleUseCases":[{"title":"Extract transcript from video subtitles","prompt":"I have this SRT subtitle file content from a YouTube video — can you parse it and give me the plain text transcript without all the timestamps? Here's the content: '1\n00:00:01,000 --> 00:00:04,000\nWelcome to the tutorial\n\n2\n00:00:05,000 --> 00:00:09,000\nToday we will learn about Python'"},{"title":"Build searchable subtitle index","prompt":"Parse this WebVTT subtitle file into structured blocks with start times, end times, and text so I can build a searchable index: 'WEBVTT\n\n00:00:00.500 --> 00:00:02.000\nChapter one begins here\n\n00:00:03.000 --> 00:00:06.500\nThe protagonist enters the scene'"},{"title":"Sync captions to media player","prompt":"I need to convert this SRT caption content into structured JSON with start and end timestamps for each line so my media player can sync them — here's the raw content: '1\n00:00:00,800 --> 00:00:03,200\nGood morning everyone\n\n2\n00:00:04,100 --> 00:00:07,000\nLet's get started'"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:38:12.613Z","isFirstParty":false,"canonicalSlug":"fastx402-subtitle-vtt-srt-parser-0d373f8d"}