Skip to main content

semanticscholar

Unofficial Python client library for Semantic Scholar APIs.

Main features

  • Simplified access to the Semantic Scholar APIs
  • Support for the Academic Graph, Recommendations, and Datasets APIs
  • Typed responses
  • Streamlined navigation of paginated responses
  • Support for asynchronous requests

Quickstart

Installation

pip install semanticscholar

See the install page for more detailed installation instructions.

Usage

# First, import the client from semanticscholar module
from semanticscholar import SemanticScholar

# You'll need an instance of the client to request data from the API
sch = SemanticScholar()

# Get a paper by its ID
paper = sch.get_paper('10.1093/mind/lix.236.433')

# Print the paper title
print(paper.title)

Output:

Computing Machinery and Intelligence

What next?

  • Usage - See additional examples to learn how to use the library to fetch data from Semantic Scholar APIs.
  • Reference - Get the details of the classes and methods available in the library.
  • API Endpoints - Check the supported SemanticScholar API endpoints and which methods implement them.

Semantic Scholar API official docs

If you have concerns or feedback specific to this library, feel free to open an issue. However, the official documentation provides additional resources for broader API-related issues.

Contributing

As a volunteer-maintained open-source project, contributions of all forms are welcome! For more information, see the Contributing Guidelines.

Please make sure to understand our Contributor Covenant Code of Conduct before you contribute. TL;DR: Be nice and respectful!

Release files for semanticscholar 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for semanticscholar 0.12.0
File Size Uploaded
semanticscholar-0.12.0.tar.gz 30.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for semanticscholar 0.12.0
File Interpreter ABI Platform
semanticscholar-0.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 59.2 kB

Release files / semanticscholar-0.12.0.tar.gz

Download URL semanticscholar-0.12.0.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
174bb0129853480d2e659d8726ce0306a1f6f3817d1bc7a4bdd53b45a4984eb9
BLAKE2b-256 checksum
How to use checksums
ff1a60fbb6096ed06d9d485e67b9778e60550ef12273ca124e9c82c06cf3b8d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / semanticscholar-0.12.0-py3-none-any.whl

Download URL semanticscholar-0.12.0-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bffa484dd08e5c8041eaec357a46ec44838c79a0cfd4ddea20d09f84d350a830
BLAKE2b-256 checksum
How to use checksums
b7849b273b7ae0946e1b311ec651605c9c229d0553863dcc6c5a315150c5f7ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page