Podcast Break Window
Choose the nearest legal ad-break start without crossing editorial blocks or exceeding the episode duration.
Custom requests cost 0.04 USDC on Base.
Download example JSON · OpenAPI · Source and usage
Pay with a browser wallet · Open example in checkout
POST a JSON request to /podcast-break-window/v1/check with an x402 V2 client.
Worked example
Request
{
"duration": 120,
"break_seconds": 15,
"target": 50,
"blocked": [
{
"start": 45,
"end": 60
},
{
"start": 70,
"end": 90
}
]
}Result
{
"start": 30,
"end": 45,
"distance_seconds": 20
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter