Home · Free APIs · Hugging Face models

Hugging Face model data API, free to test

Test it now, no key


Before adopting a model, a team usually wants its licence, task type, how often it is downloaded and when it last changed. Send a model id in the form owner and name, as in the box above, and those come back together.

The official free source: the Hugging Face Hub API

The Hub has its own free API and client library. We quote no limit from its rate limits page here; read it there. Open the official source (linked 26 November 2026).

When the official source is the better choice

Use the Hub's own library when you need the files, the model card text, dataset records, search across models or private repositories with your token. It is the source and it is free to call.

When this call is useful

This suits a catalogue or approval checklist that only needs the headline facts for a list of model ids and would rather not add another client library to do it.

What comes back, and what to check

The saved answer returns the model id and owner, pipeline tag, library name, downloads in the last month, likes, whether the repository is private or gated, the licence tag, languages, tags, creation and last modified times, the number of files as siblings_count, the model page address, a linked paper address and an errors list. The licence field is a short tag set by the publisher: it is a pointer to the licence, not the licence itself, so open the model page and read the terms, including any extra conditions, before commercial use. Downloads count requests over a month, which is not the same as the number of teams using the model.

What people do with Hugging Face models

Questions

Does it run the model?

No. It reads facts about the repository.

Is the licence tag enough for legal review?

No. Read the full terms on the model page.

Can it read a private model?

The lookup is for public information. Use the Hub API with your own token for anything private.

What “free” means here

Get a free key · Pricing

A real saved answer

Taken 22 November 2026 with long text and long lists shortened, and people lists and abstracts left out.

Show the answer
{
 "platform": "huggingface",
 "model_id": "mistralai/Mistral-7B-v0.1",
 "author": "mistralai",
 "pipeline_tag": "text-generation",
 "library_name": "transformers",
 "downloads_last_month": 419630,
 "likes": 4235,
 "is_private": false,
 "gated": false,
 "license": "apache-2.0",
 "languages": [
  "en"
 ],
 "tags": [
  "transformers",
  "pytorch"
 ],
 "created_at": "2023-09-20T13:03:50.000Z",
 "last_modified": "2025-07-24T16:44:02.000Z",
 "siblings_count": 14,
 "model_url": "https://huggingface.co/mistralai/Mistral-7B-v0.1",
 "paper_url": "https://arxiv.org/abs/2310.06825",
 "errors": []
}

Code

curl

curl -X POST https://api.foxapis.com/v1/developer/huggingface/model \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"model_id":"mistralai/Mistral-7B-v0.1"}'

JavaScript

const res = await fetch("https://api.foxapis.com/v1/developer/huggingface/model", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"model_id":"mistralai/Mistral-7B-v0.1"}),
});
console.log(await res.json());

Python

import requests

res = requests.post(
    "https://api.foxapis.com/v1/developer/huggingface/model",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"model_id":"mistralai/Mistral-7B-v0.1"},
    timeout=60,
)
print(res.json())

The endpoint page · The use-case page

More free API pages

Last.fm artist data API, free to test · Lichess player ratings API, free to test · Mastodon post data API, free to test · Free nonprofit check API (IRS data) · Pinterest pin data API, free to test · All of them

Other names belong to their owners. FoxAPIs is not affiliated with or endorsed by them.