Call it
curl https://api.peume.com/v1/call/google-dataset-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-dataset-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-dataset-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "your keyword"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-dataset-search.
Parameters
keywordRequiredstringSearch query, up to 700 characters.
location_namestringFull location name exactly as listed in the locations dictionary, e.g. 'London,England,United Kingdom' or 'United States'.
location_codeintegerNumeric location code from the locations dictionary, e.g. 2840 (United States).
location_coordinatestring'latitude,longitude,radius' with the radius in metres (200-19999), e.g. '52.6178549,-155.352142,1000'.
language_namestringFull language name, e.g. 'English'.
language_codestringLanguage code, e.g. 'en'.
depthintegerResults to collect (1-200, default 20); billed per page of 20.
devicestringDevice type
osstringDevice operating system (default windows)
last_updatedstringLast time the dataset was updated (values: 1m, 1y, 3y)
file_formatsarrayFile formats of the dataset (values: other, archive, text, image, document, tabular)
usage_rightsstringUsage rights of the dataset (values: commercial, noncommercial)
is_freebooleanIndicates whether displayed datasets are free (values: true, false)
topicsarrayDataset topics (values: humanities, social_sciences, life_sciences, agriculture, natural_sciences, geo, computer, architecture_and_urban_planning, engineering)
