{"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":"073cea55-d499-4d67-8e97-82353102956a","catalogType":"api","categories":["developer","data"],"dataPlatform":"hugging-face","dataPlatformLogoUrl":"https://api.sh/logos/hugging-face.png","dataPlatformTranslations":{},"dataProduct":"developer-resources","description":"Get Hugging Face Space data 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 Space identifier, sdk, stage, configured compute hardware tier, and direct hosted application URL to monitor live demo availability, audit space dependencies, and explore space source files.","descriptionTranslations":{"ar":"استرجع البيانات الوصفية وحالة التشغيل لتطبيق عام على Hugging Face Space عبر OpenAny REST لفحص التطبيقات التجريبية والتحقق من إطار SDK والنماذج أو البيانات المرتبطة. أرسل معرّف owner/name أو رابط Hub للحصول على العنوان والعتاد والمرحلة ورابط التطبيق المباشر وبيانات البطاقة والإعجابات بصيغة JSON.","ja":"OpenAny REST で Hugging Face Space の公開メタデータと稼働状態を取得し、デモアプリの SDK やハードウェア、紐づくモデル・データセットを確認できます。owner/name または Hub URL を指定すると、ステージ、アプリ URL、カード情報、いいね数、ファイル数を JSON で返します。","zh":"通过 OpenAny REST 获取 Hugging Face Space 应用的公开元数据与运行状态，用于检查演示应用、确认 SDK 框架并核验关联模型或数据集。传入 Space 的 owner/name 或 Hub 链接，即可获取标题、SDK、硬件规格、运行阶段、应用链接、卡片数据、点赞数及文件数量。"},"effectContentHtml":"","executionMode":"sync","id":"854a634c-c048-4d25-98be-668cb450541b","includedContentHtml":"","inputs":[{"description":"The Space id (owner/name) or its huggingface.co link.","location":"query","name":"id","nullable":false,"required":true,"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 Space API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eHugging Face Space API\u003c/h2\u003e\n\u003cp\u003ePass required id as a Space owner/name slug (such as open-llm-leaderboard/open_llm_leaderboard) or a huggingface.co/spaces URL. The JSON response returns app_url, sdk, stage, hardware, runtime, card_data, linked models[] and datasets[], likes and files_count.\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 (Space owner/name or huggingface.co link). Optional 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 Space 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\u003eMonitor live demo availability\u003c/strong\u003e: Check stage, runtime and hardware to see whether a hosted Space is running or sleeping.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAudit Space dependencies\u003c/strong\u003e: Inspect sdk, models[], datasets[] and license before embedding or duplicating a demo.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eExplore Space source files\u003c/strong\u003e: Combine with the Repo File Tree API (type=space) to inspect app.py, requirements or Dockerfiles.\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 Space 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\u003eSpace owner username or organization\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etitle\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDisplay title of the Space application\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esdk\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eApp framework such as gradio, streamlit or docker\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003estage\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eObserved runtime stage such as RUNNING or SLEEPING\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ehardware\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eConfigured compute hardware tier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eapp_url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDirect hosted application URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elikes\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCommunity like count on the Hub\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 Space repository\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 Space page URL\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/space \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode id=open-llm-leaderboard/open_llm_leaderboard \\\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/854a634c-c048-4d25-98be-668cb450541b\"\u003ePublished Hugging Face Space 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\u003eDoes this endpoint execute or interact with the Space UI?\u003c/h3\u003e\n\u003cp\u003eNo. It returns Space metadata, runtime status, configuration and linked resource references in JSON.\u003c/p\u003e\n\u003ch3\u003eWhat formats are accepted for the id parameter?\u003c/h3\u003e\n\u003cp\u003ePass an owner/name Space identifier such as open-llm-leaderboard/open_llm_leaderboard or a full huggingface.co/spaces URL.\u003c/p\u003e\n\u003ch3\u003eHow can I check whether a Space is currently running and on what hardware?\u003c/h3\u003e\n\u003cp\u003eRead the stage, runtime and hardware fields; pass fresh=1 if you need live status instead of a cached snapshot.\u003c/p\u003e\n\u003ch3\u003eDoes it show which models and datasets a Space uses?\u003c/h3\u003e\n\u003cp\u003eYes. The response includes models[] and datasets[] arrays as declared on the Space record.\u003c/p\u003e\n\u003ch3\u003eHow do I inspect the code files inside the Space?\u003c/h3\u003e\n\u003cp\u003eCall the Hugging Face Repo File Tree API with type=space and the same Space ID.\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 bulky raw blocks, or fields to select 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-spaces-search-api\"\u003eHugging Face Spaces 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-model-details-api\"\u003eHugging Face Model Details API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/hugging-face/hugging-face-space-api?offering=854a634c-c048-4d25-98be-668cb450541b","providerId":"apish","publicPath":"/v1/agent-apis/apish/huggingface/v1/space","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"id":"open-llm-leaderboard/open_llm_leaderboard","output":"json"}},"response_body":{"app_url":"https://open-llm-leaderboard-open-llm-leaderboard.hf.space","arxiv":[],"author":"open-llm-leaderboard","cached":false,"card_data":{"colorFrom":"blue","colorTo":"red","duplicated_from":"open-llm-leaderboard/open_llm_leaderboard","emoji":"🏆","hf_oauth":true,"license":"apache-2.0","pinned":true,"sdk":"docker","short_description":"Track, rank and evaluate open LLMs and chatbots","tags":["leaderboard","modality:text","… 5 more"],"title":"Open LLM Leaderboard"},"created_at":"2023-04-17T11:40:06.000Z","credits_used":1,"datasets":[],"disabled":false,"emoji":"🏆","files":[".env.example",".gitignore","… 92 more"],"files_count":94,"gated":null,"hardware":"cpu-upgrade","id":"open-llm-leaderboard/open_llm_leaderboard","languages":["english"],"last_modified":"2026-05-27T08:54:50.000Z","license":"apache-2.0","licenses":[],"likes":14153,"models":[],"name":"open_llm_leaderboard","pinned":true,"private":false,"regions":["us"],"runtime":{"hardware":{"current":"cpu-upgrade","requested":"cpu-upgrade"},"replicas":{"current":1,"requested":1},"sleep_time_seconds":172800,"stage":"RUNNING","storage":null},"sdk":"docker","sha":"0ca4edb66d48a3cc9ea8090bb09bd39d846ecc5d","short_description":"Track, rank and evaluate open LLMs and chatbots","stage":"RUNNING","tags":["docker","leaderboard","… 7 more"],"title":"Open LLM Leaderboard","trending_score":4,"url":"https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard","used_storage_bytes":180996299}}],"seoDescription":"Get Hugging Face Space data 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:37.548Z","usageInstructionsHtml":""}}