AgentAPIGate
Back to Catalog
GET /v1/ai/huggingface/datasets_searchPack: intel·MCP Tool: ai_huggingface_datasets_search

HuggingFace Hub Datasets Search

Search ML training and evaluation datasets on HuggingFace Hub by keyword with download counts, likes, tags, and dataset card identifiers.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Dataset topic, benchmark, or modality keyword (e.g. code, math, swe-bench)
Max datasets returned (1-50)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/ai/huggingface/datasets_search" \
  --data-urlencode "query=code" \
  --data-urlencode "limit=12" \
  --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)
-82% tokens
# HuggingFace Hub Datasets Search (`ai.huggingface.datasets_search`)
**query**: code · **count**: 12

## datasets
- [1] dataset_id: Lite-Coder/LiteCoder-Terminal-SFT, author: Lite-Coder, downloads: 235073, likes: 9, tags: task_categories:text-generation, language:en, license:mit, arxiv:2605.29559, region:us, terminal
- [2] dataset_id: ShayManor/willow-surface-code-detection-events, author: ShayManor, downloads: 174988, likes: 1, tags: task_categories:other, license:apache-2.0, size_categories:10M<n<100M, format:parquet, modality:tabular, modality:text
- [3] dataset_id: livecodebench/code_generation_lite, author: livecodebench, downloads: 133715, likes: 108, tags: license:cc, size_categories:n<1K, arxiv:2403.07974, region:us, code, code generation
- [4] dataset_id: togethercomputer/CoderForge-Preview, author: togethercomputer, downloads: 130186, likes: 182, tags: size_categories:100K<n<1M, format:parquet, modality:text, library:datasets, library:dask, library:polars
- [5] dataset_id: codepawl/abo-glb, author: codepawl, downloads: 120371, likes: 130, tags: license:cc-by-4.0, size_categories:1K<n<10K, format:parquet, modality:3d, modality:image, modality:text
- [6] dataset_id: codepawl/objaverse-clean-glb, author: codepawl, downloads: 117134, likes: 22, tags: license:cc-by-4.0, size_categories:1K<n<10K, format:parquet, modality:3d, modality:image, modality:text
- [7] dataset_id: deepmind/code_contests, author: deepmind, downloads: 89064, likes: 239, tags: task_categories:translation, annotations_creators:found, language_creators:found, multilinguality:monolingual, source_datasets:original, language:en
- [8] dataset_id: choucsan/mimo-claude-code-traces-1k, author: choucsan, downloads: 84666, likes: 12, tags: task_categories:text-generation, task_categories:question-answering, task_categories:other, language:en, license:mit, size_categories:1K<n<10K
- [9] dataset_id: danielrosehill/English-Hebrew-Codeswitching-Sentences, author: danielrosehill, downloads: 71436, likes: 1, tags: task_categories:automatic-speech-recognition, language:en, language:he, license:cc-by-4.0, size_categories:10K<n<100K, format:parquet
- [10] dataset_id: IFM/Code-Reasoning, author: IFM, downloads: 64860, likes: 80, tags: task_categories:text-generation, license:apache-2.0, size_categories:100M<n<1B, format:parquet, modality:text, library:datasets
- [11] dataset_id: code-search-net/code_search_net, author: code-search-net, downloads: 60155, likes: 343, tags: task_categories:text-generation, task_categories:fill-mask, task_ids:language-modeling, task_ids:masked-language-modeling, annotations_creators:no-annotation, language_creators:machine-generated
- [12] dataset_id: codeparrot/github-code-clean, author: codeparrot, downloads: 57101, likes: 151, tags: license:apache-2.0, region:us

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: ai.huggingface.datasets_search · Method: GET
ParameterTypeReqSample / DefaultDescription
querystringrequiredcodeDataset topic, benchmark, or modality keyword (e.g. code, math, swe-bench)
limitnumberoptional12Max datasets returned (1-50)
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.0010 / call$0/mo · Balance never expires
Remote MCP Toolai_huggingface_datasets_searchOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency112 ms$0 billed on empty or 4xx/5xx
Token Economy4212t → 763t (-82%)Partner credit: eligible

More ai.huggingface Sibling Endpoints

Frequently Asked Questions

How do I call HuggingFace Hub Datasets Search (ai.huggingface.datasets_search) over REST and Remote MCP?

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

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

Each successful HTTP 200 response costs $0.001 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 ai.huggingface.datasets_search?

Passing ?format=md transforms the response into normalized Markdown (~763 tokens vs ~4212 raw tokens, saving 82% 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: ["ai.huggingface.datasets_search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.