{"uid":"cap_8HGpqzxQDsq0iv-wJapR0","slug":"fastx402-extract-audio-60928424","name":"FastX402 Extract Audio","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/extract-audio?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":["url"],"properties":{"end":{"type":"string","description":"End time in seconds or as 1:05, default the end of the file"},"url":{"type":"string","description":"Absolute http(s) URL of a video or audio file (mp4, mov, mkv, webm, avi, mp3, m4a, wav, ogg, flac)"},"start":{"type":"string","description":"Start time in seconds (12.5) or as 1:05, default 0"},"format":{"enum":["mp3","m4a","wav","ogg","flac","opus"],"type":"string","description":"Audio format, default mp3"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"bytes":{"type":"integer"},"start":{"type":"integer"},"format":{"type":"string"},"mime_type":{"type":"string"},"duration_s":{"type":"number"},"expires_at":{"type":"string"},"input_bytes":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://workshop.tusk80.com/r/fa79f739bcc49a2596b55a619110ce75.mp3","bytes":816015,"start":0,"format":"mp3","mime_type":"audio/mpeg","duration_s":60.1,"expires_at":"2026-10-17T15:20:48.294Z","input_bytes":5510872}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MToX0SvqItXQ2HcTDDwpB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts a segment (or full track) of audio from a remote video or audio file URL and returns a download link in the chosen format","exampleAgentPrompt":"Can you extract the audio from this video — https://example.com/lecture.mp4 — starting at 1:30 and ending at 5:00, and give me the result as an mp3 file?","exampleUseCases":[{"title":"Podcast clip extraction from video","prompt":"I have this YouTube-mirrored mp4 at https://cdn.example.com/interview.mp4 — pull out just the audio from 2:10 to 15:45 and give it to me as an mp3."},{"title":"Full audio rip in lossless format","prompt":"Can you strip the entire audio track from https://files.example.com/concert.mkv and return it as a flac file?"},{"title":"Short audio snippet for a preview","prompt":"Grab a 30-second audio preview from https://media.example.com/movie-trailer.mp4 starting at 0:45, and give it to me as an ogg file."}],"resultDescription":"Returns a JSON object with a temporary download URL to the extracted audio file, the output format (e.g. mp3), MIME type, duration in seconds, file size in bytes, the original input file size in bytes, the start time offset, and an expiry timestamp after which the URL is no longer valid.","failureModes":["Invalid or unreachable source URL returns an error — the URL must be a publicly accessible http(s) link","Unsupported file format (e.g. .wmv or .rm) is not accepted — only mp4, mov, mkv, webm, avi, mp3, m4a, wav, ogg, flac are supported","Start or end time out of range for the source file duration may return an error or produce a zero-length output","Payment failure via x402 (insufficient USDC balance or unsupported chain) results in a 402 Payment Required response","Very large source files or slow remote servers may cause timeouts during download and transcoding"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract or convert audio from a remote video or audio file URL without setting up any account or API key — ideal for agent workflows that need to isolate audio tracks, trim clips, or transcode between audio formats (mp3, m4a, wav, ogg, flac, opus) on a pay-per-call basis with USDC micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T04:04:14.141Z","isFirstParty":false,"canonicalSlug":"fastx402-extract-audio-60928424"}