curl -X PUT 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P' \
-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"]}'import requests
url = "https://api.poddata.ai/v1/markets/{market}"
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"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
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']
})
};
fetch('https://api.poddata.ai/v1/markets/{market}', 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}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
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'
]
]),
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/{market}"
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}")
req, _ := http.NewRequest("PUT", 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.put("https://api.poddata.ai/v1/markets/{market}")
.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}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/markets/{market}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.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}"
response = http.request(request)
puts response.read_body{
"id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
"name": "Intelligent Document Processing",
"definition": {
"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"
],
"set_at": "2026-11-26T15:00:00.000Z"
},
"links": [
{
"id": "cln_01JD3X7Q2W8E5R4T6Y9V0K1M2Q",
"kind": "naics",
"value": "513210",
"evidence": "https://www.census.gov/naics/?input=513210"
}
],
"players": {
"confirmed": 3,
"proposed": 2,
"struck": 1,
"cap": 20
},
"reports": [],
"added_at": "2026-11-26T15:00:00.000Z",
"read": {
"asked_at": "2026-11-26T15:00:00.000Z",
"until": "2026-11-27T15:00:00.000Z",
"again": false,
"queued": [
{
"id": "google-trends",
"name": "Google Trends"
}
],
"waiting": [
{
"id": "reddit",
"name": "Reddit",
"needs": [
"search_term",
"reddit_subreddit"
]
}
],
"why": null
}
}Sets one of the team’s markets whole: its name and what it is in words, and its links when given
Sets one of your team’s markets whole, replacing what was there: its name, sells and buyers in a line each, names (each with the page that uses it) and buyer_groups. With links, its industry codes and Reddit communities are replaced too, each with its page, and one left out is struck; without, they stay as they are. When its names change (one added, changed, dropped or moved), the readers that read a category’s names are asked to read them now, as setting a target’s category asks them, and read says which were asked and which wait on a link; a read of theirs from before doesn’t stand.
Before: The market is one of your team’s. Set it from vendors’ own pages, a review site’s category and an analyst’s words, never from an industry code alone.
Next: GET /markets/{market} reads it back. A market report written after reads it.
Limits: A name another of your team’s markets has is a 409. A link of any kind but naics and reddit_subreddit 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; past them, the market is set all the same and read says why nothing was asked. Saving writes a line in your team’s audit log.
curl -X PUT 'https://api.poddata.ai/v1/markets/mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P' \
-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"]}'import requests
url = "https://api.poddata.ai/v1/markets/{market}"
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"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
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']
})
};
fetch('https://api.poddata.ai/v1/markets/{market}', 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}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
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'
]
]),
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/{market}"
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}")
req, _ := http.NewRequest("PUT", 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.put("https://api.poddata.ai/v1/markets/{market}")
.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}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.poddata.ai/v1/markets/{market}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.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}"
response = http.request(request)
puts response.read_body{
"id": "mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P",
"name": "Intelligent Document Processing",
"definition": {
"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"
],
"set_at": "2026-11-26T15:00:00.000Z"
},
"links": [
{
"id": "cln_01JD3X7Q2W8E5R4T6Y9V0K1M2Q",
"kind": "naics",
"value": "513210",
"evidence": "https://www.census.gov/naics/?input=513210"
}
],
"players": {
"confirmed": 3,
"proposed": 2,
"struck": 1,
"cap": 20
},
"reports": [],
"added_at": "2026-11-26T15:00:00.000Z",
"read": {
"asked_at": "2026-11-26T15:00:00.000Z",
"until": "2026-11-27T15:00:00.000Z",
"again": false,
"queued": [
{
"id": "google-trends",
"name": "Google Trends"
}
],
"waiting": [
{
"id": "reddit",
"name": "Reddit",
"needs": [
"search_term",
"reddit_subreddit"
]
}
],
"why": null
}
}set_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
Path Parameters
Body
Response
The market as set now, and what its names asked of the readers that read them