Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Public reads need no token; a token adds private and gated repos and raises rate limits.
  • Rate limits are counted over 5-minute windows per user or organization; a 429 carries RateLimit headers.
  • This entry covers the Hub only; Hugging Face Inference Providers route to other companies’ models and are not listed here.

Endpoints

Quick search the Hub

Get a paper

List daily papers

Get the token’s user

  • Needs HF_TOKEN.