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.
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"
# 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| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | optional | — | Optional Space keyword filter |
| sort | string | optional | likes | Sort field (likes, trendingScore, or lastModified) |
| limit | number | optional | 10 | Max Spaces (1-30) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0005 / call | $0/mo · Balance never expires |
| Remote MCP Tool | huggingface_spaces_trending | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 15 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1532t → 369t (-76%) | Partner credit: eligible |
More Dev, AI & Security Real-Time APIs
All-in-one domain intelligence combining RDAP registrar/expiry data, Cloudflare DoH A/MX/TXT/NS records, and live TLS SAN certificate inspection.
Use when you need commercial-grade passive IP reconnaissance: RIR RDAP CIDR/organization/abuse contacts, Cloudflare DoH reverse PTR hostnames, and port-443 TLS SAN inspection.
Resolve country, city, coordinates, timezone, ASN, and ISP organization for any public IP address.
Use when you need Common Vulnerabilities and Exposures (CVEs) from NIST NVD 2.0 and OSV.dev enriched with FIRST.org EPSS 30-day exploitation probability.
Search 250M+ peer-reviewed and preprint research papers across OpenAlex and arXiv with citation counts, DOIs, and abstracts.
Query recruiting and completed clinical trials by condition, drug intervention, sponsor, and phase from ClinicalTrials.gov v2.
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.