{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"126de0ec-93cd-4b92-ae82-3c8fa9ae408c","catalogType":"api","categories":["developer","data"],"dataPlatform":"hugging-face","dataPlatformLogoUrl":"https://api.sh/logos/hugging-face.png","dataPlatformTranslations":{},"dataProduct":"developer-resources","description":"Get Hugging Face Dataset Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including full dataset identifier, declared dataset license identifiers, hub task category tags, files count, and splits to verify dataset compliance, inspect split and feature structure, and audit dataset popularity and freshness.","descriptionTranslations":{"ar":"استرجع التفاصيل الكاملة لمجموعة بيانات عامة على Hugging Face عبر OpenAny REST لتدقيق التراخيص واللغات والملفات قبل التنزيل. أرسل معرّف owner/name أو رابط Hub للحصول على بطاقة البيانات وعدد التنزيلات والملفات، مع خيار include=splits لإضافة إحصاءات التقسيمات وعدد الصفوف والأعمدة بصيغة JSON.","ja":"OpenAny REST で Hugging Face 公開データセットの詳細を取得し、ダウンロード前にライセンスや対応言語、リポジトリ構成を確認できます。owner/name 形式の ID または Hub URL を指定するとカード情報とファイル一覧を返し、include=splits で分割・行数・列特徴量も取得できます。","zh":"通过 OpenAny REST 获取 Hugging Face 公开数据集详情，用于在下载数据前审计许可证、核查支持语言并查看仓库文件。传入 owner/name 格式的数据集 ID 或 Hub 链接即可获取数据集卡片、下载量与文件列表，传入 include=splits 还可返回配置、切分、行数和字段特征统计。"},"effectContentHtml":"","executionMode":"sync","id":"4e878f39-fb97-46ba-ac4f-04d37fda9466","includedContentHtml":"","inputs":[{"description":"The dataset id (owner/name) or its huggingface.co link.","location":"query","name":"id","nullable":false,"required":true,"type":"string"},{"description":"`splits`: also return `structure` (configs, splits, row counts, sizes and column features).","enum_values":["splits"],"location":"query","name":"include","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/hugging-face.png","method":"GET","name":"Hugging Face dataset details API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eHugging Face Dataset Details API\u003c/h2\u003e\n\u003cp\u003ePass required id as an owner/name dataset slug (such as rajpurkar/squad) or a huggingface.co dataset URL, plus optional include=splits to attach configuration, split, row-count and feature structure. The response exposes card_data, licenses, languages, task_categories, download metrics and repository file metadata.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query: id (owner/name or huggingface.co link). Optional include (splits), raw=0, fields and fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Hugging Face dataset details API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eVerify dataset compliance\u003c/strong\u003e: Check licenses, gated status and languages before ingesting a dataset into training or evaluation pipelines.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eInspect split and feature structure\u003c/strong\u003e: Pass include=splits to inspect configurations, split row counts and column schemas without downloading Parquet files.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAudit dataset popularity and freshness\u003c/strong\u003e: Read downloads_last_month, likes and last_modified to compare candidate benchmarks.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eFull dataset identifier (owner/name)\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eauthor\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDataset owner username or organization\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSummary text from the dataset record\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elicenses\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDeclared dataset license identifiers\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elanguages\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDocumented language codes for the dataset\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etask_categories\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eHub task category tags\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edownloads_last_month\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported downloads over the last 30 days\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efiles_count\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal number of files in the dataset repository\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecard_data.dataset_info.splits\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDocumented split names, sizes and example counts\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eurl\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCanonical Hugging Face Hub URL for the dataset\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/huggingface/v1/dataset \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode id=rajpurkar/squad \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/4e878f39-fb97-46ba-ac4f-04d37fda9466\"\u003ePublished Hugging Face Dataset Details API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhat formats are accepted for the dataset id parameter?\u003c/h3\u003e\n\u003cp\u003eYou can pass an owner/name identifier such as rajpurkar/squad or a full huggingface.co/datasets URL.\u003c/p\u003e\n\u003ch3\u003eWhat does include=splits add to the response?\u003c/h3\u003e\n\u003cp\u003eSetting include=splits returns additional structure data covering configs, splits, row counts, byte sizes and column features.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint download the dataset rows or Parquet files?\u003c/h3\u003e\n\u003cp\u003eNo. It returns dataset metadata, card fields and file references only; raw dataset records are not embedded.\u003c/p\u003e\n\u003ch3\u003eHow can I browse every file path inside the dataset repository?\u003c/h3\u003e\n\u003cp\u003eUse the Hugging Face Repo File Tree API with type=dataset to list all files, sizes and download URLs recursively.\u003c/p\u003e\n\u003ch3\u003eCan I inspect private or gated dataset contents?\u003c/h3\u003e\n\u003cp\u003eThis endpoint returns public Hub metadata and gated flags; it does not accept buyer Hugging Face tokens for private repositories.\u003c/p\u003e\n\u003ch3\u003eHow do caching and field selection work?\u003c/h3\u003e\n\u003cp\u003eOutput is JSON only. Pass fresh=1 to skip the 24-hour cache, raw=0 to omit raw blocks, or fields to pick specific keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-dataset-search-api\"\u003eHugging Face Dataset Search API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-repository-file-tree-api\"\u003eHugging Face Repo File Tree API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hugging-face/hugging-face-repository-commit-history-api\"\u003eHugging Face Repo Commit History API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/hugging-face/hugging-face-dataset-details-api?offering=4e878f39-fb97-46ba-ac4f-04d37fda9466","providerId":"apish","publicPath":"/v1/agent-apis/apish/huggingface/v1/dataset","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"id":"rajpurkar/squad","output":"json"}},"response_body":{"arxiv":["1606.05250"],"author":"rajpurkar","cached":false,"card_data":{"annotations_creators":["crowdsourced"],"configs":[{"config_name":"plain_text","data_files":[{"…":"2 fields"},{"…":"2 fields"}],"default":true}],"dataset_info":{"config_name":"plain_text","dataset_size":89819092,"download_size":16278203,"features":[{"dtype":"string","name":"id"},{"dtype":"string","name":"title"},"… 3 more"],"splits":[{"name":"train","num_bytes":79346108,"num_examples":87599},{"name":"validation","num_bytes":10472984,"num_examples":10570}]},"language":["en"],"language_creators":["crowdsourced","found"],"license":"cc-by-sa-4.0","multilinguality":["monolingual"],"paperswithcode_id":"squad","pretty_name":"SQuAD","size_categories":["10K\u003cn\u003c100K"],"source_datasets":["extended|wikipedia"],"task_categories":["question-answering"],"task_ids":["extractive-qa"],"train-eval-index":[{"col_mapping":{"answers":{"…":"2 fields"},"context":"context","question":"question"},"config":"plain_text","metrics":[{"…":"2 fields"}],"splits":{"eval_split":"validation","train_split":"train"},"task":"question-answering","task_id":"extractive_question_answering"}]},"citation":null,"created_at":"2022-03-02T23:29:22.000Z","credits_used":1,"description":"Dataset Card for SQuAD Dataset Summary Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questio…","disabled":false,"downloads_all_time":8291521,"downloads_last_month":165701,"files":[".gitattributes","README.md","… 2 more"],"files_count":4,"formats":["parquet"],"gated":false,"id":"rajpurkar/squad","languages":["en"],"last_modified":"2024-03-04T13:54:37.000Z","libraries":["datasets","pandas","… 2 more"],"licenses":["cc-by-sa-4.0"],"likes":892,"modalities":["text"],"name":"squad","paperswithcode_id":"squad","private":false,"regions":["us"],"sha":"7b6d24c440a36b6815f21b70d25016731768db1f","size_category":"10K\u003cn\u003c100K","tags":["task_categories:question-answering","task_ids:extractive-qa","… 16 more"],"task_categories":["question-answering"],"trending_score":1.5,"url":"https://huggingface.co/datasets/rajpurkar/squad","used_storage_bytes":16279705}}],"seoDescription":"Get Hugging Face Dataset Details via REST or MCP powered by Apish. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:43:36.657Z","usageInstructionsHtml":""}}