curl 'https://api.poddata.ai/v1/markets/mkt_01JD3Q7C9P8XH2W4YB5N6R0TKM/numbers/query?group=company&source=g2' \
-H "Authorization: Bearer $PODDATA_API_KEY"import requests
url = "https://api.poddata.ai/v1/markets/{market}/numbers/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.poddata.ai/v1/markets/{market}/numbers/{name}', 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.poddata.ai/v1/markets/{market}/numbers/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.poddata.ai/v1/markets/{market}/numbers/{name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.poddata.ai/v1/markets/{market}/numbers/{name}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/markets/{market}/numbers/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyA number tool asked for a market: a row each confirmed player, and the field's own figures
A number tool asked for a market rather than a company: the same tool, the same arguments as its query, and the same answer, but market stands where company would, each row is a confirmed player, no row is a target’s, and its figures are the field’s: players (how many are confirmed), then for each measure counted_<m> (how many have it), leader_<m> (whose figure it is: the leader’s), median_<m>, low_<m>, high_<m>, and total_<m> where a sum means something. There’s no gap. Rows run in the order of the measure, largest first, a player with nothing held last, marked, and basis.left_out names each player left out and why. A share is a share among the players read, never a market share. The tools that answer a market now: profile, query, videos, funding, figures, interest, rating_periods, site, timeline, series, rating, rating_by_link, rating_rivals, rating_windows, complaints, ads, ads_weeks, social, risks, site_changes, market, players, category; any other is a 400 that says so. With format=csv its rows are a file, as a company’s are.
Before: The market is one of your team’s (GET /markets), and its players are confirmed: a player counts only once a person confirms it, as a rival does.
Next: Put it in a market report as an exhibit, {"numbers": "profile", "company": "mkt_…", "params": {…}}, the market’s id where a company’s would be, and cite a figure as {exhibit-id.median_products}.
Limits: One api call, as a company’s tool is. At most 200 of the ids behind the figures are listed in evidence. An id that isn’t one of your team’s markets is a 404, in the same words as one that isn’t there.
curl 'https://api.poddata.ai/v1/markets/mkt_01JD3Q7C9P8XH2W4YB5N6R0TKM/numbers/query?group=company&source=g2' \
-H "Authorization: Bearer $PODDATA_API_KEY"import requests
url = "https://api.poddata.ai/v1/markets/{market}/numbers/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.poddata.ai/v1/markets/{market}/numbers/{name}', 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.poddata.ai/v1/markets/{market}/numbers/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.poddata.ai/v1/markets/{market}/numbers/{name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.poddata.ai/v1/markets/{market}/numbers/{name}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/markets/{market}/numbers/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodynumbers_query, on PodData’s MCP server at https://api.poddata.ai/mcp, does what this route does, with the same key. See The MCP server.Authorizations
Path Parameters
The number tool, as its company route names it: profile, query, rating-rivals
rating, rating-by-link, rating-rivals, rating-windows, complaints, series, timeline, ads, ads-weeks, site, site-changes, figures, profile, risks, market, funding, interest, social, videos, rating-periods, query, players, category "profile"
Query Parameters
Response
A row each confirmed player, and the field's figures