Hugging Face
The AI community building the future with open-source machine learning models, datasets, and applications.
Hugging Face publishes 21 APIs on the APIs.io network, including Audio API, Chat API, Chat Completions API, and 18 more.
The Hugging Face catalog on APIs.io includes 7 JSON-LD contexts and 2 Spectral governance rulesets.
Hugging Face’s developer surface includes authentication, developer portal, documentation, getting-started guide, pricing, engineering blog, changelog, and 41 more developer resources.
Kin Score
APIs 21
Individual APIs this provider publishes, each with its own machine-readable definition.
Hugging Face Audio API
Speech recognition, audio classification, and text-to-speech tasks
Hugging Face Chat API
OpenAI-compatible chat completion endpoints
Hugging Face Chat Completions API
OpenAI-compatible chat completion endpoints
Hugging Face Computer Vision API
Image classification, object detection, and segmentation tasks
Hugging Face Data Access API
Row-level data access and preview endpoints
Hugging Face Dataset Info API
Dataset validity and structure endpoints
Hugging Face Datasets API
Operations for managing and querying datasets on the Hub
Hugging Face Embeddings API
Text embedding endpoints
Hugging Face Endpoints API
Manage dedicated inference endpoints
Hugging Face Files & Metadata API
Parquet files, size, statistics, and metadata
Hugging Face Image Generation API
Text-to-image generation
Hugging Face Info API
Server and model information
Hugging Face Models API
Operations for managing and querying models on the Hub
Hugging Face Multimodal API
Tasks involving multiple modalities
Hugging Face Natural Language Processing API
NLP tasks including text generation, classification, and translation
Hugging Face Providers API
Available cloud providers and hardware
Hugging Face Repos API
General repository management operations
Hugging Face Search & Filter API
Search and filter dataset contents
Hugging Face Spaces API
Operations for managing and querying Spaces on the Hub
Hugging Face Text Generation API
Text generation endpoints
Hugging Face Users API
User account and organization management
Scroll for all 21
Postman Collections 6
Ready-to-run Postman collections for exercising this provider's APIs.
Hugging Face Hub API
POSTMANHugging Face Inference API
POSTMANOpen Collections 6
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
Hugging Face Dataset Viewer API
OPEN COLLECTIONHugging Face Hub API
OPEN COLLECTIONHugging Face Inference API
OPEN COLLECTIONHugging Face Inference Endpoints API
OPEN COLLECTIONHugging Face Inference Providers API
OPEN COLLECTIONHugging Face Text Generation Inference API
OPEN COLLECTIONArazzo Workflows 14
Multi-step API workflows described with the Arazzo specification.
Hugging Face Chat Completion with Model Discovery
Discover an available router model, confirm it exists, then run an OpenAI-compatible chat completion.
ARAZZOHugging Face Create Repository and Configure
Identify the authenticated user, create a new repository, then set its visibility and gating.
ARAZZOHugging Face Dataset Filter Rows
Confirm a dataset supports filtering, resolve its split, then apply a SQL-like filter.
ARAZZOHugging Face Dataset Search and Statistics
Resolve a dataset split, full-text search within it, then pull column statistics.
ARAZZOHugging Face Dataset Size and Parquet Files
Confirm a dataset on the Hub, read its size profile, then list its Parquet files.
ARAZZOHugging Face Dataset Validate and Preview
Check a dataset is viewer-ready, list its splits, then preview the first rows.
ARAZZOHugging Face Deploy Inference Endpoint and Wait
Create a dedicated Inference Endpoint, then poll its status until it is running.
ARAZZOHugging Face Discover a Space
Search Hub Spaces by SDK and query, then load the top Space's details.
ARAZZOHugging Face Embeddings Pair
Confirm an embedding model is available, then embed a query and a document for comparison.
ARAZZOHugging Face Grounded Text Generation
Find a text-generation model on the Hub, confirm it, then run hosted text generation.
ARAZZOHugging Face Search and Inspect a Model
Search the Hub for a model, fetch its full record, then inspect a specific revision.
ARAZZOHugging Face Summarize Then Translate
Summarize a long document with one model, then translate the summary with another.
ARAZZOHugging Face TGI Inspect and Generate
Read a TGI server's info, tokenize a prompt to check its length, then generate text.
ARAZZOHugging Face Toggle Inference Endpoint State
Read an endpoint's current state, then pause it if running or resume it if paused.
ARAZZOScroll for all 14
MCP Servers 1
Model Context Protocol servers that expose these APIs to AI agents.
MCP Server
MCP SERVERAgent Skills 16
Packaged agent skills for driving this provider's APIs from an AI assistant.
hf-cli
AGENT SKILLhf-mcp
AGENT SKILLhuggingface-best
AGENT SKILLhuggingface-community-evals
AGENT SKILLhuggingface-datasets
AGENT SKILLhuggingface-gradio
AGENT SKILLhuggingface-llm-trainer
AGENT SKILLhuggingface-local-models
AGENT SKILLhuggingface-paper-publisher
AGENT SKILLhuggingface-papers
AGENT SKILLhuggingface-tool-builder
AGENT SKILLhuggingface-trackio
AGENT SKILLhuggingface-vision-trainer
AGENT SKILLhuggingface-zerogpu
AGENT SKILLtrain-sentence-transformers
AGENT SKILLtransformers-js
AGENT SKILLScroll for all 16
GraphQL 1
GraphQL schemas published by this provider.
Hugging Face GraphQL Schema
This conceptual GraphQL schema models the Hugging Face AI platform, covering the full surface area of its public APIs: the Hub API for managing models, datasets, and spaces; the...
GRAPHQLPricing Plans 1
Published pricing tiers and plan structures.
Rate Limits 1
Documented rate limits and quota policies.
Hugging Face Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
Hugging Face Finops
FINOPSFeatures 7
Notable capabilities this provider offers.
Model Inference
Run inference on 200,000+ ML models with a simple HTTP request across NLP, vision, audio, and multimodal tasks.
Hub Repository Management
Programmatically manage models, datasets, and spaces including creation, versioning, and access control.
Dedicated Endpoints
Deploy models on dedicated infrastructure with autoscaling, custom hardware, and private networking.
Multi-Provider Routing
Unified OpenAI-compatible API routing to 15+ inference providers with automatic model selection.
Dataset Exploration
Query, search, filter, and visualize datasets without downloading via the Dataset Viewer API.
Text Generation Inference
High-performance LLM serving with streaming, tool calling, structured output, and grammar constraints.
OpenAI Compatibility
Drop-in replacement for OpenAI API with chat completions, embeddings, and image generation endpoints.
Scroll for all 7
Semantic Vocabularies 7
JSON-LD contexts and semantic vocabularies used across these APIs.
Hugging Face Context
JSON-LDHugging Face Hub Context
JSON-LDScroll for all 7
Spectral Rules 2
Spectral governance rulesets for linting and validating these APIs.
Hugging Face API Rules
SPECTRALHugging Face API Rules
SPECTRALJSON Schema 136
Standalone JSON Schema definitions for this provider's data models.
ChatCompletionRequest
JSON SCHEMAChatCompletionResponse
JSON SCHEMAChatCompletionStreamResponse
JSON SCHEMAClassificationResult
JSON SCHEMACompletionRequest
JSON SCHEMACompletionResponse
JSON SCHEMACompletionStreamResponse
JSON SCHEMACreateEndpointRequest
JSON SCHEMACreateRepoRequest
JSON SCHEMAHugging Face Dataset
JSON SCHEMAError
JSON SCHEMAParquetResponse
JSON SCHEMARowsResponse
JSON SCHEMASearchResponse
JSON SCHEMASizeResponse
JSON SCHEMASplitsResponse
JSON SCHEMAStatisticsResponse
JSON SCHEMAValidityResponse
JSON SCHEMADatasetInfo
JSON SCHEMADatasetSummary
JSON SCHEMAEmbeddingRequest
JSON SCHEMAEmbeddingResponse
JSON SCHEMAEndpoint
JSON SCHEMAEndpointMetrics
JSON SCHEMAError
JSON SCHEMAErrorResponse
JSON SCHEMAFeatureExtractionRequest
JSON SCHEMAFillMaskRequest
JSON SCHEMAFillMaskResponse
JSON SCHEMAGenerateRequest
JSON SCHEMAGenerateResponse
JSON SCHEMACreateRepoRequest
JSON SCHEMADatasetInfo
JSON SCHEMADatasetSummary
JSON SCHEMAError
JSON SCHEMAModelInfo
JSON SCHEMAModelSummary
JSON SCHEMARepoUrl
JSON SCHEMASpaceInfo
JSON SCHEMASpaceSummary
JSON SCHEMAUserInfo
JSON SCHEMAImageGenerationRequest
JSON SCHEMAImageGenerationResponse
JSON SCHEMAClassificationResult
JSON SCHEMAHugging Face Inference Endpoint
JSON SCHEMACreateEndpointRequest
JSON SCHEMAEndpointMetrics
JSON SCHEMAEndpoint
JSON SCHEMAError
JSON SCHEMAProvider
JSON SCHEMAUpdateEndpointRequest
JSON SCHEMAError
JSON SCHEMAFeatureExtractionRequest
JSON SCHEMAFillMaskRequest
JSON SCHEMAFillMaskResponse
JSON SCHEMAInferenceRequest
JSON SCHEMAInferenceResponse
JSON SCHEMAModelLoadingResponse
JSON SCHEMAObjectDetectionResult
JSON SCHEMAChatCompletionRequest
JSON SCHEMAChatCompletionResponse
JSON SCHEMAChatCompletionStreamResponse
JSON SCHEMACompletionRequest
JSON SCHEMACompletionResponse
JSON SCHEMACompletionStreamResponse
JSON SCHEMAEmbeddingRequest
JSON SCHEMAEmbeddingResponse
JSON SCHEMAError
JSON SCHEMAImageGenerationRequest
JSON SCHEMAImageGenerationResponse
JSON SCHEMAUsage
JSON SCHEMAQuestionAnsweringRequest
JSON SCHEMAQuestionAnsweringResponse
JSON SCHEMASentenceSimilarityRequest
JSON SCHEMASpeechRecognitionResponse
JSON SCHEMASummarizationRequest
JSON SCHEMASummarizationResponse
JSON SCHEMATextClassificationRequest
JSON SCHEMATextGenerationRequest
JSON SCHEMATextGenerationResponse
JSON SCHEMATextToImageRequest
JSON SCHEMATranslationRequest
JSON SCHEMATranslationResponse
JSON SCHEMAZeroShotClassificationRequest
JSON SCHEMAZeroShotClassificationResponse
JSON SCHEMAInferenceRequest
JSON SCHEMAInferenceResponse
JSON SCHEMAInfo
JSON SCHEMAHugging Face Model
JSON SCHEMAModelInfo
JSON SCHEMAModelLoadingResponse
JSON SCHEMAModelSummary
JSON SCHEMAObjectDetectionResult
JSON SCHEMAParquetResponse
JSON SCHEMAProvider
JSON SCHEMAQuestionAnsweringRequest
JSON SCHEMAQuestionAnsweringResponse
JSON SCHEMARepoUrl
JSON SCHEMARowsResponse
JSON SCHEMASearchResponse
JSON SCHEMASentenceSimilarityRequest
JSON SCHEMASizeResponse
JSON SCHEMAHugging Face Space
JSON SCHEMASpaceInfo
JSON SCHEMASpaceSummary
JSON SCHEMASpeechRecognitionResponse
JSON SCHEMASplitsResponse
JSON SCHEMAStatisticsResponse
JSON SCHEMAStreamResponse
JSON SCHEMASummarizationRequest
JSON SCHEMASummarizationResponse
JSON SCHEMAChatCompletionRequest
JSON SCHEMAChatCompletionResponse
JSON SCHEMAChatCompletionStreamResponse
JSON SCHEMACompletionRequest
JSON SCHEMACompletionResponse
JSON SCHEMACompletionStreamResponse
JSON SCHEMAErrorResponse
JSON SCHEMAGenerateRequest
JSON SCHEMAGenerateResponse
JSON SCHEMAInfo
JSON SCHEMAStreamResponse
JSON SCHEMAUsage
JSON SCHEMATextClassificationRequest
JSON SCHEMATextGenerationRequest
JSON SCHEMATextGenerationResponse
JSON SCHEMATextToImageRequest
JSON SCHEMATranslationRequest
JSON SCHEMATranslationResponse
JSON SCHEMAUpdateEndpointRequest
JSON SCHEMAUsage
JSON SCHEMAHugging Face User
JSON SCHEMAUserInfo
JSON SCHEMAValidityResponse
JSON SCHEMAZeroShotClassificationRequest
JSON SCHEMAZeroShotClassificationResponse
JSON SCHEMAScroll for all 136
JSON Structure 72
JSON Structure definitions describing this provider's data shapes.
Hugging Face Dataset Viewer Error Structure
JSON STRUCTUREHugging Face Dataset Viewer Parquet Response Structure
JSON STRUCTUREHugging Face Dataset Viewer Rows Response Structure
JSON STRUCTUREHugging Face Dataset Viewer Search Response Structure
JSON STRUCTUREHugging Face Dataset Viewer Size Response Structure
JSON STRUCTUREHugging Face Dataset Viewer Splits Response Structure
JSON STRUCTUREHugging Face Dataset Viewer Validity Response Structure
JSON STRUCTUREHugging Face Hub Create Repo Request Structure
JSON STRUCTUREHugging Face Hub Dataset Info Structure
JSON STRUCTUREHugging Face Hub Dataset Summary Structure
JSON STRUCTUREHugging Face Hub Error Structure
JSON STRUCTUREHugging Face Hub Model Info Structure
JSON STRUCTUREHugging Face Hub Model Summary Structure
JSON STRUCTUREHugging Face Hub Repo Url Structure
JSON STRUCTUREHugging Face Hub Space Info Structure
JSON STRUCTUREHugging Face Hub Space Summary Structure
JSON STRUCTUREHugging Face Hub User Info Structure
JSON STRUCTUREHugging Face Inference Classification Result Structure
JSON STRUCTUREHugging Face Inference Endpoints Endpoint Structure
JSON STRUCTUREHugging Face Inference Endpoints Error Structure
JSON STRUCTUREHugging Face Inference Endpoints Provider Structure
JSON STRUCTUREHugging Face Inference Error Structure
JSON STRUCTUREHugging Face Inference Fill Mask Request Structure
JSON STRUCTUREHugging Face Inference Fill Mask Response Structure
JSON STRUCTUREHugging Face Inference Inference Request Structure
JSON STRUCTUREHugging Face Inference Inference Response Structure
JSON STRUCTUREHugging Face Inference Model Loading Response Structure
JSON STRUCTUREHugging Face Inference Object Detection Result Structure
JSON STRUCTUREHugging Face Inference Providers Error Structure
JSON STRUCTUREHugging Face Inference Providers Usage Structure
JSON STRUCTUREHugging Face Inference Summarization Request Structure
JSON STRUCTUREHugging Face Inference Summarization Response Structure
JSON STRUCTUREHugging Face Inference Text Generation Request Structure
JSON STRUCTUREHugging Face Inference Text To Image Request Structure
JSON STRUCTUREHugging Face Inference Translation Request Structure
JSON STRUCTUREHugging Face Inference Translation Response Structure
JSON STRUCTUREHugging Face Structure
JSON STRUCTUREHugging Face Text Generation Inference Info Structure
JSON STRUCTUREHugging Face Text Generation Inference Usage Structure
JSON STRUCTUREScroll for all 72
Examples 135
Example request and response payloads for these APIs.
Hugging Face Getinfo Example
EXAMPLEHugging Face Getrows Example
EXAMPLEHugging Face Isvalid Example
EXAMPLEHugging Face Whoami Example
EXAMPLEScroll for all 135
Security Posture 3
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Use Cases 5
What developers build with this provider.
ML Model Prototyping
Rapidly prototype AI applications by running inference on pre-trained models without infrastructure setup.
Production ML Deployment
Deploy and scale ML models for production workloads with dedicated endpoints and autoscaling.
Dataset Curation
Explore, validate, and curate ML datasets programmatically for training pipeline automation.
AI Application Development
Build AI-powered applications using unified inference APIs with multi-provider routing.
Model Benchmarking
Compare model performance across providers and hardware configurations for optimization.
Resources
Get Started 4
Portal, sign-up, and the first successful call
Documentation 6
Reference material describing how the API behaves
Agent Surfaces 3
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 15
Pagination, idempotency, versioning, errors, and events
Scroll for all 15
Build 4
SDKs, sample code, and the tooling you integrate with
Access & Security 3
Authentication, authorization, and security posture
Learn 1
Tutorials, courses, talks, and written guidance
Operate 6
Status, limits, changes, and where to get help
Commercial 3
Pricing, plans, and the legal terms of use
Company 2
The organization behind the API
Other 1
Properties that don't map to a standard resource type