WebScrapingAPI Docs

Google Scholar Author API

Scrape Google Scholar author profiles and publication data.

Retrieve a Google Scholar author profile by author ID.

To enable this engine, set engine=google_scholar_author.

Request URL

https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ

Parameters

ParameterTypeRequiredDescription
author_idstringYesGoogle Scholar author ID to scrape.

Code Samples

curl --request GET \
  --url "https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ"
const response = await fetch("https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ", {
  method: "GET"
});

const data = await response.text();
console.log(data);
import http.client

connection = http.client.HTTPSConnection("serpapi.webscrapingapi.com")
connection.request("GET", "/v2?engine=google_scholar_author&api_key=%3CYOUR_API_KEY%3E&author_id=LSsXyncAAAAJ")

response = connection.getresponse()
data = response.read()

print(data.decode("utf-8"))
<?php

$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => "https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$error = curl_error($curl);

curl_close($curl);

echo $error ? "cURL Error #: " . $error : $response;
package main

import (
    "fmt"
    "io"
    "log"
    "net/http"
)

func main() {
    response, err := http.Get("https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ")
    if err != nil {
        log.Fatal(err)
    }
    defer response.Body.Close()

    body, err := io.ReadAll(response.Body)
    if err != nil {
        log.Fatal(err)
    }

    fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ"))
    .GET()
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using var client = new HttpClient();
var response = await client.GetAsync("https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ");
Console.WriteLine(await response.Content.ReadAsStringAsync());
require 'net/http'
require 'uri'

uri = URI("https://serpapi.webscrapingapi.com/v2?engine=google_scholar_author&api_key=<YOUR_API_KEY>&author_id=LSsXyncAAAAJ")
response = Net::HTTP.get_response(uri)
puts response.body

On this page