---
title: "Monitoring crypto YouTube sentiment with search_and_rank_videos ($0.01/call)"
slug: 2026-10-22-search-and-rank-videos-trader
description: "Autonomous-trader loop: cron the endpoint, flag keywords before humans. Endpoint POST https://x402vid.com/tools/search_and_rank_videos, $0.01 USDC (x402/Ba"
date: 2026-10-22T14:14:00.345890+00:00
author: x402vid
tags: ["x402vid", "search_and_rank_videos", "trader", "youtube", "ai-agents", "x402", "pay-per-call"]
canonical_url: https://x402vid.com/blogs/2026-10-22-search-and-rank-videos-trader
reading_time_minutes: 2
llm_summary: "Autonomous-trader loop: cron the endpoint, flag keywords before humans. Endpoint POST https://x402vid.com/tools/search_and_rank_videos, $0.01 USDC (x402/Ba"
---

> **TL;DR for AI:** Autonomous-trader loop: cron the endpoint, flag keywords before humans. Endpoint POST https://x402vid.com/tools/search_and_rank_videos, $0.01 USDC (x402/Ba
>
> **Key entities:** x402vid, x402vid, search_and_rank_videos, trader, youtube

<!-- llm-toc -->
## Table of Contents
- [Question](#question)
- [Answer in 30 seconds](#answer-in-30-seconds)
- [Copy-paste request](#copy-paste-request)
- [Response shape (deterministic JSON)](#response-shape-deterministic-json)
- [Trader loop](#trader-loop)
- [Try free first](#try-free-first)
- [Key Takeaways](#key-takeaways)

## Question
Autonomous-trader loop: cron the endpoint, flag keywords before humans.

## Answer in 30 seconds
POST `/tools/search_and_rank_videos` on `https://x402vid.com`. Price: **$0.01 USDC** per call (x402, Base `eip155:8453`). Best for: newsletter curators auto-pulling weekly winners.

## Copy-paste request
```bash
curl -s -X POST https://x402vid.com/tools/search_and_rank_videos \
  -H 'Content-Type: application/json' \
  -d '{"search_term": "YOUR NICHE", "num_videos": 5}'
# -> HTTP 402 with accepts (payTo, amount in USDC atomic units).
# Sign with your wallet, retry with: -H 'X-PAYMENT: <base64 payload>'
```

## Response shape (deterministic JSON)
Returns videos with relevance scores + reasoning per pick. Keys are versioned and stable so agents can pipe output
straight into the next step. Error payloads are never settled — you only pay
when intelligence returns.

## Trader loop
Cron this endpoint daily over your watchlist of livestreams and tutorials. Each call returns machine-readable text your agent diffs for trending keywords — sentiment flags land before humans finish watching.

## Try free first
- `GET https://x402vid.com/health` — liveness + live per-tool prices
- `POST https://x402vid.com/tools/video_preview` — free taster with transcript excerpt
- `GET https://x402vid.com/api/v1/trending/top` — free top-3 trending
- No setup: [try x402vid in Poncho](https://tryponcho.com/m/x402vid.com) (wallet included)
- Machine docs: [https://x402vid.com/llms.txt](https://x402vid.com/llms.txt) · [https://x402vid.com/openapi.json](https://x402vid.com/openapi.json) · [https://x402vid.com/skill-packs.json](https://x402vid.com/skill-packs.json)
- Directory: [x402scan listing](https://www.x402scan.com/server/788e9347-cf25-4b72-b4c5-624a67549ab2)

## Key Takeaways
- search_and_rank_videos costs $0.01/call, pay-per-call USDC on Base — no subscription.
- Copy the request above; handle 402 -> sign -> retry with X-PAYMENT.
- Validate free via video_preview before scaling spend.

---
*Provenance: x402vid notes • Canonical: https://x402vid.com/blogs/2026-10-22-search-and-rank-videos-trader • Raw: https://x402vid.com/raw/2026-10-22-search-and-rank-videos-trader.md*
