Search Google Events
curl --request POST \
--url https://api.aisa.one/apis/v1/serpapi/event-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "Live music in Austin this weekend"
}
'import requests
url = "https://api.aisa.one/apis/v1/serpapi/event-search"
payload = { "query": "Live music in Austin this weekend" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'Live music in Austin this weekend'})
};
fetch('https://api.aisa.one/apis/v1/serpapi/event-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/serpapi/event-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'Live music in Austin this weekend'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/serpapi/event-search"
payload := strings.NewReader("{\n \"query\": \"Live music in Austin this weekend\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/serpapi/event-search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"Live music in Austin this weekend\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/serpapi/event-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"Live music in Austin this weekend\"\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"events_results": [
{
"address": [
"<string>"
],
"date": "<string>",
"description": "<string>",
"event_location_map": {
"image": "<string>",
"link": "<string>",
"serpapi_link": "<string>"
},
"image": "<string>",
"link": "<string>",
"thumbnail": "<string>",
"ticket_info": [
{
"link": "<string>",
"link_type": "<string>",
"source": "<string>"
}
],
"time": "<string>",
"title": "<string>",
"type": "<string>",
"venue": {
"link": "<string>",
"name": "<string>",
"rating": 123,
"reviews": 123
}
}
],
"search_metadata": {
"created_at": "<string>",
"google_url": "<string>",
"id": "<string>",
"json_endpoint": "<string>",
"processed_at": "<string>",
"raw_html_file": "<string>",
"status": "<string>",
"total_time_taken": 123
},
"search_parameters": {
"engine": "<string>",
"gl": "<string>",
"hl": "<string>",
"htichips": "<string>",
"location": "<string>",
"q": "<string>",
"start": 123
},
"serpapi_pagination": {
"current": 123,
"next": "<string>",
"next_link": "<string>",
"other_pages": {},
"previous_link": "<string>"
}
}SerpApi
Search Google Events
Search Google Events
POST
https://api.aisa.one
/
apis
/
v1
/
serpapi
/
event-search
Search Google Events
curl --request POST \
--url https://api.aisa.one/apis/v1/serpapi/event-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "Live music in Austin this weekend"
}
'import requests
url = "https://api.aisa.one/apis/v1/serpapi/event-search"
payload = { "query": "Live music in Austin this weekend" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'Live music in Austin this weekend'})
};
fetch('https://api.aisa.one/apis/v1/serpapi/event-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/serpapi/event-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'Live music in Austin this weekend'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/serpapi/event-search"
payload := strings.NewReader("{\n \"query\": \"Live music in Austin this weekend\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/serpapi/event-search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"Live music in Austin this weekend\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/serpapi/event-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"Live music in Austin this weekend\"\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"events_results": [
{
"address": [
"<string>"
],
"date": "<string>",
"description": "<string>",
"event_location_map": {
"image": "<string>",
"link": "<string>",
"serpapi_link": "<string>"
},
"image": "<string>",
"link": "<string>",
"thumbnail": "<string>",
"ticket_info": [
{
"link": "<string>",
"link_type": "<string>",
"source": "<string>"
}
],
"time": "<string>",
"title": "<string>",
"type": "<string>",
"venue": {
"link": "<string>",
"name": "<string>",
"rating": 123,
"reviews": 123
}
}
],
"search_metadata": {
"created_at": "<string>",
"google_url": "<string>",
"id": "<string>",
"json_endpoint": "<string>",
"processed_at": "<string>",
"raw_html_file": "<string>",
"status": "<string>",
"total_time_taken": 123
},
"search_parameters": {
"engine": "<string>",
"gl": "<string>",
"hl": "<string>",
"htichips": "<string>",
"location": "<string>",
"q": "<string>",
"start": 123
},
"serpapi_pagination": {
"current": 123,
"next": "<string>",
"next_link": "<string>",
"other_pages": {},
"previous_link": "<string>"
}
}Request contract
- Method and path: POST /apis/v1/serpapi/event-search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/serpapi/event-search
{
"operationId": "serpapi.event-search",
"method": "POST",
"path": "/apis/v1/serpapi/event-search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"query": {
"description": "Search query for events, specifying the topic, type, or name.",
"examples": [
"Live music in Austin this weekend",
"Tech conferences in San Francisco",
"Oktoberfest celebrations near me"
],
"type": "string"
},
"start": {
"description": "Only 0 is supported. Google Search does not paginate event listings with this offset.",
"type": "integer"
}
},
"required": [
"query"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json