Search
Search YouTube videos, channels and playlists by keyword.
Request
POST https://dev-backend.tryingrow.com/public-api/youtube/searchSend your key in the x-api-key header and a JSON body.
Body
| Field | Type | Description |
|---|---|---|
cursor | string | Cursor token |
gl | string | |
hl | string | |
q | string | Search query |
Example
curl -X POST https://dev-backend.tryingrow.com/public-api/youtube/search \
-H "x-api-key: $INGROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Response
JSON from YouTube, fetched live. Every response also carries two headers: x-cost-usd with what the call cost and x-balance-usd with the balance left. Errors: 402 when the balance or your monthly spend limit is too low, 429 when over the rate limit (wait for retry-after seconds).
Pricing and limits
- How much does the InGrow Search API cost?
- $0.001 per successful call, taken from your InGrow balance. Failed calls are refunded, and every new organization starts with $1 free credit.
- What is the rate limit of the Search API?
- 1 request per second per organization, shared by every YouTube endpoint. Over the limit returns 429 with a retry-after header.
- How do I call the Search API?
- Send POST https://dev-backend.tryingrow.com/public-api/youtube/search with a JSON body and your API key in the x-api-key header. The same key works through the InGrow MCP server.
More YouTube APIs
- Search suggestionsGet YouTube search suggestions for a keyword.$0.001
- VideoGet a YouTube video's title, description, channel, view, like and comment counts, by video id.$0.001
- Video commentsGet the comments on a YouTube video, by video id.$0.001
- ChannelGet a YouTube channel's details (description, subscriber and video counts, links), by channel id.$0.001
- Search channelSearch inside one YouTube channel's videos by keyword, by channel id.$0.001
- Channel community postsGet the community posts of a YouTube channel, by channel id.$0.001