Old OpenAlex API documentation
  • Overview
  • Quickstart tutorial
  • API Entities
    • Entities overview
    • 📄Works
      • Work object
        • Authorship object
        • Location object
      • Get a single work
      • Get lists of works
      • Filter works
      • Search works
      • Group works
      • Get N-grams
    • 👩Authors
      • Author object
      • Get a single author
      • Get lists of authors
      • Filter authors
      • Search authors
      • Group authors
      • Limitations
      • Author disambiguation
    • 📚Sources
      • Source object
      • Get a single source
      • Get lists of sources
      • Filter sources
      • Search sources
      • Group sources
    • 🏫Institutions
      • Institution object
      • Get a single institution
      • Get lists of institutions
      • Filter institutions
      • Search institutions
      • Group institutions
    • 💡Topics
      • Topic object
      • Get a single topic
      • Get lists of topics
      • Filter topics
      • Search topics
      • Group topics
    • 🗝️Keywords
    • 🏢Publishers
      • Publisher object
      • Get a single publisher
      • Get lists of publishers
      • Filter publishers
      • Search publishers
      • Group publishers
    • 💰Funders
      • Funder object
      • Get a single funder
      • Get lists of funders
      • Filter funders
      • Search funders
      • Group funders
    • 🌎Geo
      • Continents
      • Regions
    • 💡Concepts
      • Concept object
      • Get a single concept
      • Get lists of concepts
      • Filter concepts
      • Search concepts
      • Group concepts
    • Aboutness endpoint (/text)
  • How to use the API
    • API Overview
    • Get single entities
      • Random result
      • Select fields
    • Get lists of entities
      • Paging
      • Filter entity lists
      • Search entities
      • Sort entity lists
      • Select fields
      • Sample entity lists
      • Autocomplete entities
    • Get groups of entities
    • Rate limits and authentication
  • Download all data
    • OpenAlex snapshot
    • Snapshot data format
    • Download to your machine
    • Upload to your database
      • Load to a data warehouse
      • Load to a relational database
        • Postgres schema diagram
  • Additional Help
    • Tutorials
    • Report bugs
    • FAQ
Powered by GitBook
On this page
  • Page and sort sources
  • Sample sources
  • Select fields
  1. API Entities
  2. Sources

Get lists of sources

PreviousGet a single sourceNextFilter sources

Last updated 2 years ago

You can get lists of sources:

  • Get all sources in OpenAlex

Which returns a response like this:

{
    "meta": {
        "count": 226727,
        "db_response_time_ms": 32,
        "page": 1,
        "per_page": 25
    },
    "results": [
        {
            "id": "https://openalex.org/S2764455111",
            "issn_l": null,
            "issn": null,
            "display_name": "PubMed Central",
            // more fields (removed to save space)
        },
        {
            "id": "https://openalex.org/S4306400806",
            "issn_l": null,
            "issn": null,
            "display_name": "PubMed Central - Europe PMC",
            // more fields (removed to save space)
        },
        // more results (removed to save space)
    ],
    "group_by": []
}

Page and sort sources

  • Sort sources by cited by count, descending https://api.openalex.org/sources?sort=cited_by_count:desc

Sample sources

Select fields

By default we return 25 results per page. You can change this default and through sources with the per-page and page parameters:

Get the second page of sources results, with 50 results returned per page

You also can with the sort parameter:

Continue on to learn how you can and lists of sources.

You can use sample to get a random batch of sources. Read more about sampling and how to add a seed value .

Get 10 random sources

You can use select to limit the fields that are returned in a list of sources. More details are .

Display only the id, display_name and issn within sources results

📚
https://api.openalex.org/sources
page
https://api.openalex.org/sources?per-page=50&page=2
sort results
filter
search
here
https://api.openalex.org/sources?sample=10
here
https://api.openalex.org/sources?select=id,display_name,issn