Call it
curl https://api.peume.com/v1/call/google-finance-explore-tab-results-live \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"location_code": 2840,
"language_name": "English"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-finance-explore-tab-results-live", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"location_code": 2840,
"language_name": "English"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-finance-explore-tab-results-live",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"location_code": 2840,
"language_name": "English"
}
},
)
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-finance-explore-tab-results-live.
Parameters
location_codeinteger<p><em>search engine location code</em><p><strong>required field if you don't specify <code>location_name</code></strong><p><strong>if you use this field, you don't need to specify <code>location_name</code></strong><p>you can receive the list of available locations of the search engines with their
Example: 2840
language_codestring<p><em>search engine language code</em><p><strong>required field if you don't specify <code>language_name</code></strong><p><strong>if you use this field, you don't need to specify <code>language_name</code></strong><p>you can receive the list of available languages of the search engine with their <
devicestring<p><em>device type</em><p>optional field<p>return results for a specific device type<p>possible value: <code>desktop</code></p>
location_namestring<p><em>full name of search engine location</em><p><strong>required field if you don't specify <code>location_code</code></strong><p><strong>if you use this field, you don't need to specify <code>location_code</code></strong><p>you can receive the list of available locations of the search engine with
language_namestring<p><em>full name of search engine language</em><p><strong>required field if you don't specify <code>language_code</code></strong><p><strong>if you use this field, you don't need to specify <code>language_code</code></strong><p>you can receive the list of available languages of the search engine with
Example: English
osstring<p><em>device operating system</em><p>optional field<p>possible values: <code>windows</code></p>
tagstring<p><em>user-defined task identifier</em><p>optional field<p><em>the character limit is 255</em><p>you can use this parameter to identify the task and match it with the result<p>you will find the specified <code>tag</code> value in the <code>data</code> object of the response</p>
news_typestring<p><em>financial news filters</em><p>optional field<p>possible values: <code>top_stories</code>, <code>local_market</code>, <code>world_markets</code><p>default value: <code>top_stories</code><p><strong>Note:</strong> if you specify <code>local_market</code> or <code>world_markets</code>, the charge
