Ollama Model Library API

Models in the Ollama library for any search, capability or sort: description, download count as a number, number of tags, parameter sizes, capabilities such as tools or vision, last update and page link.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

Try it
Ready-made, maintained by usRecords, 8 fieldsv1.0

Data from ollama.com/search

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Words to search models, as in the library search box.
Example: llama
Capabilityoptional
Only models with this capability: tools, vision, thinking or embedding.
Sortoptional
popular (most downloaded) or newest.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/ollama-models/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/ollama-models/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"llama"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Words to search models, as in the library search box.
example: llama
capabilitytext
Only models with this capability: tools, vision, thinking or embedding.
example: toolsone of: tools, vision, thinking, embedding
sorttext
popular (most downloaded) or newest.
example: popularone of: popular, newest

What's in each record

8 fields.

Basics

  • Model

    Model name in the library, such as llama3.1.

    Example llama3.1

  • Description

    The library's short description of the model.

    Example Llama 3.1 is a new state-of-the-art model from Meta available in 8B, 70B and 405B parameter sizes.

  • Pulls

    Total downloads (pulls) of the model.

    Example 121,652,415

  • Tags count

    Number of tags (variants) the model has.

    Example 93

  • Sizes

    Parameter sizes offered, such as 8b or 70b.

    Example 8b, 70b

  • Capabilities

    Capabilities the model is tagged with, such as tools, vision or thinking.

    Example tools

Dates

  • Updated date

    Day the model was last updated.

    Example Nov 30, 2024

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
modeltextModel3 of 3
urllinkLink3 of 3
descriptiontextDescription3 of 3
pullsnumberPulls3 of 3
tags_countnumberTags count3 of 3
sizeslistSizes3 of 3
capabilitieslistCapabilities2 of 3
updated_datedateUpdated date3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordModelDescriptionPullsTags countSizesCapabilitiesUpdated dateLink
1llama3.1Llama 3.1 is a new state-of-the-art model from Meta available in 8B, 70B and 405B parameter sizes.121,652,415938b, 70b, 405btoolsNov 30, 2024ollama.com/library/llama3.1
2llama3.2Meta's Llama 3.2 goes small with 1B and 3B models.89,080,548631b, 3btoolsSep 25, 2024ollama.com/library/llama3.2
3llama3Meta Llama 3: The most capable openly available LLM to date26,080,861688b, 70b—May 21, 2024ollama.com/library/llama3

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • The library search shows one page of about 20 models per search and does not page further, so narrow the search, capability or sort to reach others.
  • Read from the library's search page, which has no official listing API; the page layout may change.
  • Updated is the library's own text date; models listed without a date have none. Pull counts are the library's own totals at the time of the run.
  • Sizes and capabilities are only those the library tags on the model; many models list no sizes.

Version history

A run uses the live version unless the request names another one with version.