curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg"
const API_KEY = "API_KEY";
fetch("https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg", {
method: "GET",
headers: {
"Authorization": `Bearer ${API_KEY}`
}
})
.then((res) => res.json())
.then((json) => console.log(json))
.catch(console.error);
import requests
headers = {'Authorization': 'Bearer API_KEY'}
r = requests.get('https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg', headers=headers)
print(r.json())
{
"status": "success",
"audiences": [
{
"id": "ca.129482487242828",
"name": "Buyers",
"type": "customerList",
"size": { "lower": 140000, "upper": 160000 },
"status": { "ready": true, "code": null, "description": "VALID" },
"created": "2026-11-20T09:12:00.000Z"
},
{
"id": "ca.129482487242999",
"name": "Site visitors 30d",
"type": "website",
"size": null,
"status": { "ready": false, "code": null, "description": "PENDING" },
"created": "2026-12-01T16:40:00.000Z"
}
],
"meta": { "pagination": { "hasMore": false } }
}
{
"action": "request",
"status": "error",
"code": 101,
"message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
"details": "accountId is required."
}
{
"action": "ads",
"status": "error",
"code": 370,
"message": "Error getting audiences. Please try again.",
"details": "Reddit's reason"
}
Reddit Ads
Audiences
List the custom audiences on a Reddit ad account, with each one’s type, size and whether a boost can target it yet.
GET
/
ads
/
reddit
/
audiences
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg"
const API_KEY = "API_KEY";
fetch("https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg", {
method: "GET",
headers: {
"Authorization": `Bearer ${API_KEY}`
}
})
.then((res) => res.json())
.then((json) => console.log(json))
.catch(console.error);
import requests
headers = {'Authorization': 'Bearer API_KEY'}
r = requests.get('https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg', headers=headers)
print(r.json())
{
"status": "success",
"audiences": [
{
"id": "ca.129482487242828",
"name": "Buyers",
"type": "customerList",
"size": { "lower": 140000, "upper": 160000 },
"status": { "ready": true, "code": null, "description": "VALID" },
"created": "2026-11-20T09:12:00.000Z"
},
{
"id": "ca.129482487242999",
"name": "Site visitors 30d",
"type": "website",
"size": null,
"status": { "ready": false, "code": null, "description": "PENDING" },
"created": "2026-12-01T16:40:00.000Z"
}
],
"meta": { "pagination": { "hasMore": false } }
}
{
"action": "request",
"status": "error",
"code": 101,
"message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
"details": "accountId is required."
}
{
"action": "ads",
"status": "error",
"code": 370,
"message": "Error getting audiences. Please try again.",
"details": "Reddit's reason"
}
List the custom audiences on a Reddit ad account: your customer lists, website visitors, and any other audience on the account. Use the ids in
targeting.audiences or targeting.excludedAudiences when you boost a post.
- Audiences created in Reddit Ads Manager are listed too, not only the ones created through Ayrshare.
status.readyistrueonce Reddit has matched at least 1,000 people and a boost can target the audience.sizeis Reddit’s own estimate, as a lower and upper bound. It isnullwhile Reddit has none.- Results are not cached: an audience’s size and readiness change while it fills.
Header Parameters
Query Parameters
When the response has
meta.pagination.hasMore: true, send its meta.pagination.next value here to get the next page. Send the other parameters unchanged: a next value from a different request returns code: 101.Response
Each audience has:id: the audience id to use when boosting, adding people or deleting.name: the name shown in Reddit Ads Manager.type:customerList,website,engagement, orotherfor an audience kind Ayrshare does not create, such as a lookalike.size:{ lower, upper }, Reddit’s estimate, ornull.status:{ ready, code, description }.readyistruewhen a boost can target the audience now.descriptionis Reddit’s status, such asPENDING,VALIDorNOT_ENOUGH_MATCHES_ERROR.codeis alwaysnullon Reddit.created: when the audience was created, ISO 8601, ornull.
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg"
const API_KEY = "API_KEY";
fetch("https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg", {
method: "GET",
headers: {
"Authorization": `Bearer ${API_KEY}`
}
})
.then((res) => res.json())
.then((json) => console.log(json))
.catch(console.error);
import requests
headers = {'Authorization': 'Bearer API_KEY'}
r = requests.get('https://api.ayrshare.com/api/ads/reddit/audiences?accountId=a2_abcdefg', headers=headers)
print(r.json())
{
"status": "success",
"audiences": [
{
"id": "ca.129482487242828",
"name": "Buyers",
"type": "customerList",
"size": { "lower": 140000, "upper": 160000 },
"status": { "ready": true, "code": null, "description": "VALID" },
"created": "2026-11-20T09:12:00.000Z"
},
{
"id": "ca.129482487242999",
"name": "Site visitors 30d",
"type": "website",
"size": null,
"status": { "ready": false, "code": null, "description": "PENDING" },
"created": "2026-12-01T16:40:00.000Z"
}
],
"meta": { "pagination": { "hasMore": false } }
}
{
"action": "request",
"status": "error",
"code": 101,
"message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
"details": "accountId is required."
}
{
"action": "ads",
"status": "error",
"code": 370,
"message": "Error getting audiences. Please try again.",
"details": "Reddit's reason"
}