{"id":"c1d2f8a5-f54f-4bb2-9c2f-af60956bf021","shortId":"pdYuRB","kind":"x402","title":"AnyAPI youtube.search (YouTube Search)","tagline":"AnyAPI youtube.search (YouTube Search)","description":"AnyAPI youtube.search (YouTube Search)","tags":[],"capabilities":["x402-eip155:8453","http-post","input:cursor","input:query","input:sortBy","input:uploadDate"],"categories":[],"synonyms":[],"warnings":[],"endpointUrl":"https://api.getanyapi.com/v1/run/youtube.search","protocol":"x402","transport":"http","auth":{"type":"x402","details":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","amount":"2000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.getanyapi.com/v1/run/youtube.search","extensions":{"bazaar":{"info":{"input":{"body":{"query":"how to cook rice"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","title":"YouTube search input","example":{"query":"how to cook rice"},"required":["query"],"properties":{"query":{"type":"string","description":"The YouTube search query."},"cursor":{"type":"string","description":"Continuation token from a previous response for pagination."},"sortBy":{"enum":["relevance","popular"],"type":"string","default":"relevance","description":"Sort order: \"relevance\" (default) or \"popular\" (most-viewed)."},"uploadDate":{"enum":["today","this_week","this_month","this_year"],"type":"string","description":"Filter by upload recency. Omit for any time."}},"additionalProperties":false}}},"output":{"type":"object","properties":{"example":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"YouTube search output","required":["found","data"],"properties":{"data":{"oneOf":[{"type":"null"},{"type":"object","required":["videos"],"properties":{"videos":{"type":"array","items":{"type":"object","required":["id","url","title","channel","views","lengthText","publishedTime"],"properties":{"id":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"url":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"title":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"views":{"type":"integer"},"channel":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"lengthText":{"type":"string"},"publishedTime":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true}}},"description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true}},"additionalProperties":false}]},"found":{"type":"boolean"}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"jqError":{"type":"string","description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply."},"provider":{"type":"string","description":"Always \"AnyAPI\"."},"resultId":{"type":"string","description":"Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache."}}}}}}}}},"description":"AnyAPI youtube.search (YouTube Search)","outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"query":{"type":"string","description":"The YouTube search query."},"cursor":{"type":"string","description":"Continuation token from a previous response for pagination."},"sortBy":{"enum":["relevance","popular"],"type":"string","default":"relevance","description":"Sort order: \"relevance\" (default) or \"popular\" (most-viewed)."},"uploadDate":{"enum":["today","this_week","this_month","this_year"],"type":"string","description":"Filter by upload recency. Omit for any time."}},"discoverable":true},"output":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"YouTube search output","required":["found","data"],"properties":{"data":{"oneOf":[{"type":"null"},{"type":"object","required":["videos"],"properties":{"videos":{"type":"array","items":{"type":"object","required":["id","url","title","channel","views","lengthText","publishedTime"],"properties":{"id":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"url":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"title":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"views":{"type":"integer"},"channel":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"lengthText":{"type":"string"},"publishedTime":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true}}},"description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true}},"additionalProperties":false}]},"found":{"type":"boolean"}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"jqError":{"type":"string","description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply."},"provider":{"type":"string","description":"Always \"AnyAPI\"."},"resultId":{"type":"string","description":"Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache."}}}},"maxTimeoutSeconds":60}]},"qualityScore":"0.000","qualityRationale":null,"verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":null,"enrichmentVersion":1,"enrichedAt":null,"embedding":null,"createdAt":"2026-06-23T08:07:17.764Z","updatedAt":"2026-07-17T01:31:12.659Z","lastSeenAt":"2026-07-17T01:31:12.659Z","tsv":"'anyapi':1,5,9 'http-post' 'input:cursor' 'input:query' 'input:sortBy' 'input:uploadDate' 'search':4,8,12 'x402-eip155:8453' 'youtub':3,7,11 'youtube.search':2,6,10","prices":[{"id":"228420a7-c0dd-4755-bf18-049e7a17b447","listingId":"c1d2f8a5-f54f-4bb2-9c2f-af60956bf021","amountUsd":null,"unit":"per_call","nativeCurrency":"USD COIN","nativeAmount":null,"chain":"base","payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","paymentMethod":"x402-usd coin","isPrimary":true,"details":{"scheme":"exact","mime_type":"application/json","accepts_all":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x754BD2A6799e766B1E2b9f1Ae7fBdC0CeD96ef13","amount":"2000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.getanyapi.com/v1/run/youtube.search","extensions":{"bazaar":{"info":{"input":{"body":{"query":"how to cook rice"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","title":"YouTube search input","example":{"query":"how to cook rice"},"required":["query"],"properties":{"query":{"type":"string","description":"The YouTube search query."},"cursor":{"type":"string","description":"Continuation token from a previous response for pagination."},"sortBy":{"type":"string","description":"Sort order (e.g. relevance, date, viewCount, rating)."},"uploadDate":{"type":"string","description":"Filter by upload date (e.g. hour, today, week, month, year)."}},"additionalProperties":false}}},"output":{"type":"object","properties":{"example":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"YouTube search output","required":["found","data"],"properties":{"data":{"oneOf":[{"type":"null"},{"type":"object","required":["videos"],"properties":{"videos":{"type":"array","items":{"type":"object","required":["id","url","title","channel","views","lengthText","publishedTime"],"properties":{"id":{"type":"string"},"url":{"type":"string"},"title":{"type":"string"},"views":{"type":"integer"},"channel":{"type":"string"},"lengthText":{"type":"string"},"publishedTime":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}]},"found":{"type":"boolean"}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"provider":{"type":"string","description":"Always \"AnyAPI\"."}}}}}}}}},"description":"AnyAPI youtube.search (YouTube Search)","outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"query":{"type":"string","description":"The YouTube search query."},"cursor":{"type":"string","description":"Continuation token from a previous response for pagination."},"sortBy":{"type":"string","description":"Sort order (e.g. relevance, date, viewCount, rating)."},"uploadDate":{"type":"string","description":"Filter by upload date (e.g. hour, today, week, month, year)."}},"discoverable":true},"output":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"YouTube search output","required":["found","data"],"properties":{"data":{"oneOf":[{"type":"null"},{"type":"object","required":["videos"],"properties":{"videos":{"type":"array","items":{"type":"object","required":["id","url","title","channel","views","lengthText","publishedTime"],"properties":{"id":{"type":"string"},"url":{"type":"string"},"title":{"type":"string"},"views":{"type":"integer"},"channel":{"type":"string"},"lengthText":{"type":"string"},"publishedTime":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}]},"found":{"type":"boolean"}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"provider":{"type":"string","description":"Always \"AnyAPI\"."}}}},"maxTimeoutSeconds":60}],"asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","max_timeout_seconds":60},"createdAt":"2026-06-23T08:07:17.764Z"}],"sources":[{"listingId":"c1d2f8a5-f54f-4bb2-9c2f-af60956bf021","source":"x402_bazaar","sourceId":"https://api.getanyapi.com/v1/run/youtube.search","sourceUrl":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","isPrimary":true,"firstSeenAt":"2026-06-23T08:07:17.764Z","lastSeenAt":"2026-07-17T01:31:12.659Z"}],"details":{"listingId":"c1d2f8a5-f54f-4bb2-9c2f-af60956bf021","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"query":{"type":"string","description":"The YouTube search query."},"cursor":{"type":"string","description":"Continuation token from a previous response for pagination."},"sortBy":{"enum":["relevance","popular"],"type":"string","default":"relevance","description":"Sort order: \"relevance\" (default) or \"popular\" (most-viewed)."},"uploadDate":{"enum":["today","this_week","this_month","this_year"],"type":"string","description":"Filter by upload recency. Omit for any time."}},"discoverable":true},"output":{"type":"object","required":["output","provider","costUsd"],"properties":{"items":{"type":"integer","description":"Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count."},"output":{"type":"object","title":"YouTube search output","required":["found","data"],"properties":{"data":{"oneOf":[{"type":"null"},{"type":"object","required":["videos"],"properties":{"videos":{"type":"array","items":{"type":"object","required":["id","url","title","channel","views","lengthText","publishedTime"],"properties":{"id":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"url":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"title":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"views":{"type":"integer"},"channel":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true},"lengthText":{"type":"string"},"publishedTime":{"type":"string","description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true}}},"description":"Populated whenever the provider has data for the entity.","x-anyapi-must-populate":true}},"additionalProperties":false}]},"found":{"type":"boolean"}},"additionalProperties":false},"costUsd":{"type":"number","description":"Amount charged in USD for this call."},"jqError":{"type":"string","description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply."},"provider":{"type":"string","description":"Always \"AnyAPI\"."},"resultId":{"type":"string","description":"Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache."}}}},"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"x402_version":2,"resource_type":"http","bazaar_last_updated":"2026-07-11T21:41:37.771Z"},"updatedAt":"2026-07-17T01:31:12.659Z"}}