AgentAPIGate
Back to Catalog
GET /v1/huggingface/spaces_trendingPack: intel·MCP Tool: huggingface_spaces_trending

Hugging Face Spaces Leaderboard & AI Demos Search

Retrieve top trending or most-liked AI web demo Spaces on Hugging Face with SDK runtime, likes, tags, and URLs.

API Key Price:$0.0005 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Optional Space keyword filter
Sort field (likes, trendingScore, or lastModified)
Max Spaces (1-30)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/huggingface/spaces_trending" \
  --data-urlencode "sort=likes" \
  --data-urlencode "limit=10" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-76% tokens
# Hugging Face Spaces Leaderboard & AI Demos Search (`huggingface.spaces_trending`)
**sort**: likes · **count**: 10

## spaces
- [1] id: enzostvs/deepsite, author: enzostvs, sdk: docker, likes: 16604, created_at: 2025-03-26T19:26:05.000Z
- [2] id: open-llm-leaderboard/open_llm_leaderboard, author: open-llm-leaderboard, sdk: docker, likes: 14173, created_at: 2023-04-17T11:40:06.000Z
- [3] id: jbilcke-hf/ai-comic-factory, author: jbilcke-hf, sdk: docker, likes: 11341, created_at: 2023-08-25T14:46:47.000Z
- [4] id: Kwai-Kolors/Kolors-Virtual-Try-On, author: Kwai-Kolors, sdk: gradio, likes: 10230, created_at: 2024-08-07T09:42:50.000Z
- [5] id: black-forest-labs/FLUX.1-dev, author: black-forest-labs, sdk: gradio, likes: 9589, created_at: 2024-08-01T14:14:02.000Z
- [6] id: mteb/leaderboard, author: mteb, sdk: docker, likes: 7794, created_at: 2022-09-29T11:29:23.000Z
- [7] id: dalle-mini/dalle-mini, author: dalle-mini, sdk: static, likes: 5755, created_at: 2022-04-07T00:55:48.000Z
- [8] id: AP123/IllusionDiffusion, author: AP123, sdk: gradio, likes: 5462, created_at: 2023-09-15T16:46:58.000Z
- [9] id: black-forest-labs/FLUX.1-schnell, author: black-forest-labs, sdk: gradio, likes: 5170, created_at: 2024-08-01T09:32:41.000Z
- [10] id: facebook/MusicGen, author: facebook, sdk: gradio, likes: 5120, created_at: 2023-06-08T18:00:26.000Z

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: huggingface.spaces_trending · Method: GET
ParameterTypeReqSample / DefaultDescription
querystringoptional—Optional Space keyword filter
sortstringoptionallikesSort field (likes, trendingScore, or lastModified)
limitnumberoptional10Max Spaces (1-30)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0005 / call$0/mo · Balance never expires
Remote MCP Toolhuggingface_spaces_trendingOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency15 ms$0 billed on empty or 4xx/5xx
Token Economy1532t → 369t (-76%)Partner credit: eligible

More Dev, AI & Security Real-Time APIs

Frequently Asked Questions

How do I call Hugging Face Spaces Leaderboard & AI Demos Search (huggingface.spaces_trending) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/huggingface/spaces_trending with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool huggingface_spaces_trending on https://mcp.agentapigate.ai/mcp.

What does huggingface.spaces_trending cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.0005 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on huggingface.spaces_trending?

Passing ?format=md transforms the response into normalized Markdown (~369 tokens vs ~1532 raw tokens, saving 76% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only intel endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["huggingface.spaces_trending"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.