curl -X POST 'https://api.poddata.ai/v1/markets' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"Intelligent Document Processing","sells":"Software that reads documents and returns their fields, by API or in an app","buyers":"Lenders, insurers and operations teams that handle documents at volume","names":[{"name":"Intelligent Document Processing","url":"https://reviews.example/categories/intelligent-document-processing"},{"name":"Document AI","url":"https://analyst.example/document-ai"}],"buyer_groups":["Lenders","Insurers"],"links":[{"kind":"naics","value":"513210","evidence":"https://www.census.gov/naics/?input=513210"}]}'import requests
url = "https://api.poddata.ai/v1/markets"
payload = {
"name": "Intelligent Document Processing",
"sells": "Software that reads documents and returns their fields, by API or in an app",
"buyers": "Lenders, insurers and operations teams that handle documents at volume",
"names": [
{
"name": "Intelligent Document Processing",
"url": "https://reviews.example/categories/intelligent-document-processing"
},
{
"name": "Document AI",
"url": "https://analyst.example/document-ai"
}
],
"buyer_groups": ["Lenders", "Insurers"],
"links": [
{
"kind": "naics",
"value": "513210",
"evidence": "https://www.census.gov/naics/?input=513210"
}
]
}
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({
name: 'Intelligent Document Processing',
sells: 'Software that reads documents and returns their fields, by API or in an app',
buyers: 'Lenders, insurers and operations teams that handle documents at volume',
names: [
{
name: 'Intelligent Document Processing',
url: 'https://reviews.example/categories/intelligent-document-processing'
},
{name: 'Document AI', url: 'https://analyst.example/document-ai'}
],
buyer_groups: ['Lenders', 'Insurers'],
links: [
{
kind: 'naics',
value: '513210',
evidence: 'https://www.census.gov/naics/?input=513210'
}
]
})
};
fetch('https://api.poddata.ai/v1/markets', 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",
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([
'name' => 'Intelligent Document Processing',
'sells' => 'Software that reads documents and returns their fields, by API or in an app',
'buyers' => 'Lenders, insurers and operations teams that handle documents at volume',
'names' => [
[
'name' => 'Intelligent Document Processing',
'url' => 'https://reviews.example/categories/intelligent-document-processing'
],
[
'name' => 'Document AI',
'url' => 'https://analyst.example/document-ai'
]
],
'buyer_groups' => [
'Lenders',
'Insurers'
],
'links' => [
[
'kind' => 'naics',
'value' => '513210',
'evidence' => 'https://www.census.gov/naics/?input=513210'
]
]
]),
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.poddata.ai/v1/markets"
payload := strings.NewReader("{\n \"name\": \"Intelligent Document Processing\",\n \"sells\": \"Software that reads documents and returns their fields, by API or in an app\",\n \"buyers\": \"Lenders, insurers and operations teams that handle documents at volume\",\n \"names\": [\n {\n \"name\": \"Intelligent Document Processing\",\n \"url\": \"https://reviews.example/categories/intelligent-document-processing\"\n },\n {\n \"name\": \"Document AI\",\n \"url\": \"https://analyst.example/document-ai\"\n }\n ],\n \"buyer_groups\": [\n \"Lenders\",\n \"Insurers\"\n ],\n \"links\": [\n {\n \"kind\": \"naics\",\n \"value\": \"513210\",\n \"evidence\": \"https://www.census.gov/naics/?input=513210\"\n }\n ]\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.poddata.ai/v1/markets")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Intelligent Document Processing\",\n \"sells\": \"Software that reads documents and returns their fields, by API or in an app\",\n \"buyers\": \"Lenders, insurers and operations teams that handle documents at volume\",\n \"names\": [\n {\n \"name\": \"Intelligent Document Processing\",\n \"url\": \"https://reviews.example/categories/intelligent-document-processing\"\n },\n {\n \"name\": \"Document AI\",\n \"url\": \"https://analyst.example/document-ai\"\n }\n ],\n \"buyer_groups\": [\n \"Lenders\",\n \"Insurers\"\n ],\n \"links\": [\n {\n \"kind\": \"naics\",\n \"value\": \"513210\",\n \"evidence\": \"https://www.census.gov/naics/?input=513210\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/markets")
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 \"name\": \"Intelligent Document Processing\",\n \"sells\": \"Software that reads documents and returns their fields, by API or in an app\",\n \"buyers\": \"Lenders, insurers and operations teams that handle documents at volume\",\n \"names\": [\n {\n \"name\": \"Intelligent Document Processing\",\n \"url\": \"https://reviews.example/categories/intelligent-document-processing\"\n },\n {\n \"name\": \"Document AI\",\n \"url\": \"https://analyst.example/document-ai\"\n }\n ],\n \"buyer_groups\": [\n \"Lenders\",\n \"Insurers\"\n ],\n \"links\": [\n {\n \"kind\": \"naics\",\n \"value\": \"513210\",\n \"evidence\": \"https://www.census.gov/naics/?input=513210\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"definition": {
"sells": "<string>",
"buyers": "<string>",
"names": [
{
"name": "<string>",
"url": "<string>"
}
],
"buyer_groups": [
"<string>"
],
"set_at": "<string>"
},
"links": [
{
"id": "<string>",
"kind": "naics",
"value": "<string>",
"evidence": "<string>"
}
],
"players": {
"confirmed": 123,
"proposed": 123,
"struck": 123,
"cap": 123
},
"reports": [
{
"id": "<string>",
"title": "<string>",
"status": "draft",
"updated_at": "<string>"
}
],
"added_at": "<string>",
"read": {
"asked_at": "<string>",
"until": "<string>",
"again": true,
"queued": [
{
"id": "<string>",
"name": "<string>"
}
],
"waiting": [
{
"id": "<string>",
"name": "<string>",
"needs": [
"<string>"
]
}
],
"why": "<string>"
}
}Adds a market to the team's: its name, and what it is in words
Adds a market your team studies, such as Intelligent Document Processing: a whole category rather than one company, read through its main players. Give its name, and with it, or later with PUT /markets/{market}, what it is: sells and buyers in a line each, names (each with the page that uses it) and buyer_groups, as a target’s category is set; and its links, an industry code (naics) or a Reddit community (reddit_subreddit), each with its page. When it has names, the readers that read a category’s names (Google Trends, Reddit, YouTube, the category’s size and podcasts on its market) are asked to read them, and read says which. 201 with the market, or 200 with the one your team holds by that name already.
Before: Nothing. A market is your team’s own: another team that adds the same name gets a market of its own, and nothing tells either of the other.
Next: Propose its main players, each with the page that shows it’s one. GET /markets/{market} reads it back with its players counted.
Limits: sells, buyers and names come together or not at all. A link of any other kind is a 400: a market has players, not accounts. Asking its readers counts as one of the day’s reads, none on Free and Pro, 10 on Pilot, and no limit on Enterprise. Enterprise and Pilot only; on another plan a 403 with the code plan. Saving writes a line in your team’s audit log.
curl -X POST 'https://api.poddata.ai/v1/markets' \
-H "Authorization: Bearer $PODDATA_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"Intelligent Document Processing","sells":"Software that reads documents and returns their fields, by API or in an app","buyers":"Lenders, insurers and operations teams that handle documents at volume","names":[{"name":"Intelligent Document Processing","url":"https://reviews.example/categories/intelligent-document-processing"},{"name":"Document AI","url":"https://analyst.example/document-ai"}],"buyer_groups":["Lenders","Insurers"],"links":[{"kind":"naics","value":"513210","evidence":"https://www.census.gov/naics/?input=513210"}]}'import requests
url = "https://api.poddata.ai/v1/markets"
payload = {
"name": "Intelligent Document Processing",
"sells": "Software that reads documents and returns their fields, by API or in an app",
"buyers": "Lenders, insurers and operations teams that handle documents at volume",
"names": [
{
"name": "Intelligent Document Processing",
"url": "https://reviews.example/categories/intelligent-document-processing"
},
{
"name": "Document AI",
"url": "https://analyst.example/document-ai"
}
],
"buyer_groups": ["Lenders", "Insurers"],
"links": [
{
"kind": "naics",
"value": "513210",
"evidence": "https://www.census.gov/naics/?input=513210"
}
]
}
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({
name: 'Intelligent Document Processing',
sells: 'Software that reads documents and returns their fields, by API or in an app',
buyers: 'Lenders, insurers and operations teams that handle documents at volume',
names: [
{
name: 'Intelligent Document Processing',
url: 'https://reviews.example/categories/intelligent-document-processing'
},
{name: 'Document AI', url: 'https://analyst.example/document-ai'}
],
buyer_groups: ['Lenders', 'Insurers'],
links: [
{
kind: 'naics',
value: '513210',
evidence: 'https://www.census.gov/naics/?input=513210'
}
]
})
};
fetch('https://api.poddata.ai/v1/markets', 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",
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([
'name' => 'Intelligent Document Processing',
'sells' => 'Software that reads documents and returns their fields, by API or in an app',
'buyers' => 'Lenders, insurers and operations teams that handle documents at volume',
'names' => [
[
'name' => 'Intelligent Document Processing',
'url' => 'https://reviews.example/categories/intelligent-document-processing'
],
[
'name' => 'Document AI',
'url' => 'https://analyst.example/document-ai'
]
],
'buyer_groups' => [
'Lenders',
'Insurers'
],
'links' => [
[
'kind' => 'naics',
'value' => '513210',
'evidence' => 'https://www.census.gov/naics/?input=513210'
]
]
]),
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.poddata.ai/v1/markets"
payload := strings.NewReader("{\n \"name\": \"Intelligent Document Processing\",\n \"sells\": \"Software that reads documents and returns their fields, by API or in an app\",\n \"buyers\": \"Lenders, insurers and operations teams that handle documents at volume\",\n \"names\": [\n {\n \"name\": \"Intelligent Document Processing\",\n \"url\": \"https://reviews.example/categories/intelligent-document-processing\"\n },\n {\n \"name\": \"Document AI\",\n \"url\": \"https://analyst.example/document-ai\"\n }\n ],\n \"buyer_groups\": [\n \"Lenders\",\n \"Insurers\"\n ],\n \"links\": [\n {\n \"kind\": \"naics\",\n \"value\": \"513210\",\n \"evidence\": \"https://www.census.gov/naics/?input=513210\"\n }\n ]\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.poddata.ai/v1/markets")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Intelligent Document Processing\",\n \"sells\": \"Software that reads documents and returns their fields, by API or in an app\",\n \"buyers\": \"Lenders, insurers and operations teams that handle documents at volume\",\n \"names\": [\n {\n \"name\": \"Intelligent Document Processing\",\n \"url\": \"https://reviews.example/categories/intelligent-document-processing\"\n },\n {\n \"name\": \"Document AI\",\n \"url\": \"https://analyst.example/document-ai\"\n }\n ],\n \"buyer_groups\": [\n \"Lenders\",\n \"Insurers\"\n ],\n \"links\": [\n {\n \"kind\": \"naics\",\n \"value\": \"513210\",\n \"evidence\": \"https://www.census.gov/naics/?input=513210\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/markets")
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 \"name\": \"Intelligent Document Processing\",\n \"sells\": \"Software that reads documents and returns their fields, by API or in an app\",\n \"buyers\": \"Lenders, insurers and operations teams that handle documents at volume\",\n \"names\": [\n {\n \"name\": \"Intelligent Document Processing\",\n \"url\": \"https://reviews.example/categories/intelligent-document-processing\"\n },\n {\n \"name\": \"Document AI\",\n \"url\": \"https://analyst.example/document-ai\"\n }\n ],\n \"buyer_groups\": [\n \"Lenders\",\n \"Insurers\"\n ],\n \"links\": [\n {\n \"kind\": \"naics\",\n \"value\": \"513210\",\n \"evidence\": \"https://www.census.gov/naics/?input=513210\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"definition": {
"sells": "<string>",
"buyers": "<string>",
"names": [
{
"name": "<string>",
"url": "<string>"
}
],
"buyer_groups": [
"<string>"
],
"set_at": "<string>"
},
"links": [
{
"id": "<string>",
"kind": "naics",
"value": "<string>",
"evidence": "<string>"
}
],
"players": {
"confirmed": 123,
"proposed": 123,
"struck": 123,
"cap": 123
},
"reports": [
{
"id": "<string>",
"title": "<string>",
"status": "draft",
"updated_at": "<string>"
}
],
"added_at": "<string>",
"read": {
"asked_at": "<string>",
"until": "<string>",
"again": true,
"queued": [
{
"id": "<string>",
"name": "<string>"
}
],
"waiting": [
{
"id": "<string>",
"name": "<string>",
"needs": [
"<string>"
]
}
],
"why": "<string>"
}
}add_market, 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
Body
Response
The team holds a market of that name already: as it stands