API:semanticscholar.org:semantic-scholar-api Endpoint:/author/search Response format:application/json
+1 format
Auth: unknown Method:GET Last Status:403 Latency: 174ms
Description
Specifying <code>papers</code> fields in the request will return all papers linked to each author in the results. Set a <code>limit</code> on the search results to reduce output size and latency.<br><br>
Examples:
<ul>
<li><code>https://api.semanticscholar.org/graph/v1/author/search?query=adam+smith</code></li>
<ul>
<li>Returns with total=490, offset=0, next=100, and data is a list of 100 authors.</li>
<li>Each author has their authorId and name. </li>
</ul>
<li><code>https://api.semanticscholar.org/graph/v1/author/search?query=adam+smith&fields=name,url,papers.title,papers.year&limit=5</code></li>
<ul>
<li>Returns with total=490, offset=0, next=5, and data is a list of 5 authors.</li>
<li>Each author has authorId, name, url, and a list of their papers title and year.</li>
</ul>
<li><code>https://api.semanticscholar.org/graph/v1/author/search?query=totalGarbageNonsense</code></li>
<ul>
<li>Returns with total = 0, offset=0, and data is a list of 0 author.</li>
</ul>
<br>
Limitations:
<ul>
<li>Can only return up to 10 MB of data at a time.</li>
</ul>
Parameters (4)
fields(string, query, optional)
A comma-separated list of the fields to be returned. See the contents of the <code>data</code> array in Response Schema below for a list of all available fields that can be returned.
The <code>authorId</code> field is always returned. If the fields parameter is omitted, only the <code>authorId</code> and <code>name</code> will be returned.
<p>Use a period (“.”) for subfields of <code>papers</code>.<br><br>
Examples:
<ul>
<li><code>fields=name,affiliations,papers</code></li>
<li><code>fields=url,papers.year,papers.authors</code></li>
</ul>
limit(integer, query, optional, default: 100)
The maximum number of results to return.<br>
Must be <= 1000
offset(integer, query, optional, default: 0)
Used for pagination. When returning a list of results, start with the element at this position in the list.
query(string, query, required)
A plain-text search query string.
* No special query syntax is supported.
* Hyphenated query terms yield no matches (replace it with space to find matches)
import zingu_apis
api = zingu_apis.api("semanticscholar")
result = api.fetch("author/search", query="geoffrey hinton", fields="name,affiliation,papers,paperCount", limit=10)
for item in result:
print(item)
const body = {
"error": "Unrecognized or unsupported fields: [affiliation]"
};
const resp = await fetch("https://api.semanticscholar.org/graph/v1/author/search?query=geoffrey+hinton&fields=name%2Caffiliation%2Cpapers%2CpaperCount&limit=10", {
body: JSON.stringify(body),
});
const data = await resp.json();
import zingu_apis
api = zingu_apis.api("semanticscholar")
result = api.fetch("author/search", query="yann lecun", fields="name,affiliation,citationCount", limit=20, offset=20)
for item in result:
print(item)
const resp = await fetch("https://api.semanticscholar.org/graph/v1/author/search?query=yann+lecun&fields=name%2Caffiliation%2CcitationCount&limit=20&offset=20");
const data = await resp.json();