Semantic Scholar API
AI-powered research paper discovery
Live Technical Metrics
Pre-calculated · updated every 20 min| Uptime Status | ⬜ Unknown — not yet probed |
|---|---|
| Server Latency | N/A |
| Hosting Server | Not disclosed |
| Content-Type | Not disclosed |
| Cache-Control | Not set |
| CORS Support | ✅ Enabled — safe for browser fetch() |
| Authentication | ⚠️ Requires apiKey — obtain credentials from the official documentation |
| Category | Science & Math |
Quick Integration Code
⚠️ Auth: apiKey// ⚠️ This API requires apiKey authentication
// Add your credentials to the headers below
fetch("https://api.semanticscholar.org/api-docs/")
.then(response => {
if (!response.ok) throw new Error(`HTTP ${response.status}`);
return response.json();
})
.then(data => console.log(data))
.catch(error => console.error("Request failed:", error));
# ⚠️ This API requires apiKey authentication
# Add your credentials to the headers dict below
import requests
url = "https://api.semanticscholar.org/api-docs/"
headers = {
"Accept": "application/json",
# "Authorization": "Bearer YOUR_TOKEN_HERE",
}
response = requests.get(url, headers=headers, timeout=10)
response.raise_for_status()
data = response.json()
print(data)
curl -X GET "https://api.semanticscholar.org/api-docs/" \
-H "Authorization: Bearer YOUR_TOKEN_HERE" \
-H "Accept: application/json" \
-H "User-Agent: MyApp/1.0" \
--max-time 10 \
--silent | python3 -m json.tool
Sample JSON Response — Science & Math
Science & Math{
"object": "near_earth_object",
"id": "3542519",
"name": "2010 PK9",
"nasa_jpl_url": "https://ssd.jpl.nasa.gov/tools/sbdb_lookup.html#/?sstr=3542519",
"absolute_magnitude_h": 20.5,
"is_potentially_hazardous_asteroid": false,
"estimated_diameter": {
"kilometers": {
"min": 0.265,
"max": 0.593
}
},
"close_approach_data": [
{
"close_approach_date": "2025-03-10",
"relative_velocity_kph": "42381.5",
"miss_distance_km": "14520000"
}
]
}