Browse ads
curl --request POST \
--url https://api.aisa.one/apis/v1/upspring/ads/browse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advertiser_id": [
"<string>"
],
"archetype": [
"<string>"
],
"category": "<string>",
"claim_type": [
"<string>"
],
"cursor": "<string>",
"evidence_type": [
"<string>"
],
"funnel": [
"<string>"
],
"has_product": "<string>",
"hook_archetype": [
"<string>"
],
"hook_polarity": [
"<string>"
],
"include": "<string>",
"is_active": "<string>",
"limit": 123,
"mechanism": [
"<string>"
],
"media_type": [
"<string>"
],
"min_impressions": 123,
"offer_type": [
"<string>"
],
"order_by": "random",
"persona": [
"<string>"
],
"persuasion_technique": [
"<string>"
],
"positioning": [
"<string>"
],
"recency_days": 123,
"vertical": [
"<string>"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/upspring/ads/browse"
payload = {
"advertiser_id": ["<string>"],
"archetype": ["<string>"],
"category": "<string>",
"claim_type": ["<string>"],
"cursor": "<string>",
"evidence_type": ["<string>"],
"funnel": ["<string>"],
"has_product": "<string>",
"hook_archetype": ["<string>"],
"hook_polarity": ["<string>"],
"include": "<string>",
"is_active": "<string>",
"limit": 123,
"mechanism": ["<string>"],
"media_type": ["<string>"],
"min_impressions": 123,
"offer_type": ["<string>"],
"order_by": "random",
"persona": ["<string>"],
"persuasion_technique": ["<string>"],
"positioning": ["<string>"],
"recency_days": 123,
"vertical": ["<string>"]
}
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({
advertiser_id: ['<string>'],
archetype: ['<string>'],
category: '<string>',
claim_type: ['<string>'],
cursor: '<string>',
evidence_type: ['<string>'],
funnel: ['<string>'],
has_product: '<string>',
hook_archetype: ['<string>'],
hook_polarity: ['<string>'],
include: '<string>',
is_active: '<string>',
limit: 123,
mechanism: ['<string>'],
media_type: ['<string>'],
min_impressions: 123,
offer_type: ['<string>'],
order_by: 'random',
persona: ['<string>'],
persuasion_technique: ['<string>'],
positioning: ['<string>'],
recency_days: 123,
vertical: ['<string>']
})
};
fetch('https://api.aisa.one/apis/v1/upspring/ads/browse', 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.aisa.one/apis/v1/upspring/ads/browse",
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([
'advertiser_id' => [
'<string>'
],
'archetype' => [
'<string>'
],
'category' => '<string>',
'claim_type' => [
'<string>'
],
'cursor' => '<string>',
'evidence_type' => [
'<string>'
],
'funnel' => [
'<string>'
],
'has_product' => '<string>',
'hook_archetype' => [
'<string>'
],
'hook_polarity' => [
'<string>'
],
'include' => '<string>',
'is_active' => '<string>',
'limit' => 123,
'mechanism' => [
'<string>'
],
'media_type' => [
'<string>'
],
'min_impressions' => 123,
'offer_type' => [
'<string>'
],
'order_by' => 'random',
'persona' => [
'<string>'
],
'persuasion_technique' => [
'<string>'
],
'positioning' => [
'<string>'
],
'recency_days' => 123,
'vertical' => [
'<string>'
]
]),
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.aisa.one/apis/v1/upspring/ads/browse"
payload := strings.NewReader("{\n \"advertiser_id\": [\n \"<string>\"\n ],\n \"archetype\": [\n \"<string>\"\n ],\n \"category\": \"<string>\",\n \"claim_type\": [\n \"<string>\"\n ],\n \"cursor\": \"<string>\",\n \"evidence_type\": [\n \"<string>\"\n ],\n \"funnel\": [\n \"<string>\"\n ],\n \"has_product\": \"<string>\",\n \"hook_archetype\": [\n \"<string>\"\n ],\n \"hook_polarity\": [\n \"<string>\"\n ],\n \"include\": \"<string>\",\n \"is_active\": \"<string>\",\n \"limit\": 123,\n \"mechanism\": [\n \"<string>\"\n ],\n \"media_type\": [\n \"<string>\"\n ],\n \"min_impressions\": 123,\n \"offer_type\": [\n \"<string>\"\n ],\n \"order_by\": \"random\",\n \"persona\": [\n \"<string>\"\n ],\n \"persuasion_technique\": [\n \"<string>\"\n ],\n \"positioning\": [\n \"<string>\"\n ],\n \"recency_days\": 123,\n \"vertical\": [\n \"<string>\"\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.aisa.one/apis/v1/upspring/ads/browse")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"advertiser_id\": [\n \"<string>\"\n ],\n \"archetype\": [\n \"<string>\"\n ],\n \"category\": \"<string>\",\n \"claim_type\": [\n \"<string>\"\n ],\n \"cursor\": \"<string>\",\n \"evidence_type\": [\n \"<string>\"\n ],\n \"funnel\": [\n \"<string>\"\n ],\n \"has_product\": \"<string>\",\n \"hook_archetype\": [\n \"<string>\"\n ],\n \"hook_polarity\": [\n \"<string>\"\n ],\n \"include\": \"<string>\",\n \"is_active\": \"<string>\",\n \"limit\": 123,\n \"mechanism\": [\n \"<string>\"\n ],\n \"media_type\": [\n \"<string>\"\n ],\n \"min_impressions\": 123,\n \"offer_type\": [\n \"<string>\"\n ],\n \"order_by\": \"random\",\n \"persona\": [\n \"<string>\"\n ],\n \"persuasion_technique\": [\n \"<string>\"\n ],\n \"positioning\": [\n \"<string>\"\n ],\n \"recency_days\": 123,\n \"vertical\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/upspring/ads/browse")
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 \"advertiser_id\": [\n \"<string>\"\n ],\n \"archetype\": [\n \"<string>\"\n ],\n \"category\": \"<string>\",\n \"claim_type\": [\n \"<string>\"\n ],\n \"cursor\": \"<string>\",\n \"evidence_type\": [\n \"<string>\"\n ],\n \"funnel\": [\n \"<string>\"\n ],\n \"has_product\": \"<string>\",\n \"hook_archetype\": [\n \"<string>\"\n ],\n \"hook_polarity\": [\n \"<string>\"\n ],\n \"include\": \"<string>\",\n \"is_active\": \"<string>\",\n \"limit\": 123,\n \"mechanism\": [\n \"<string>\"\n ],\n \"media_type\": [\n \"<string>\"\n ],\n \"min_impressions\": 123,\n \"offer_type\": [\n \"<string>\"\n ],\n \"order_by\": \"random\",\n \"persona\": [\n \"<string>\"\n ],\n \"persuasion_technique\": [\n \"<string>\"\n ],\n \"positioning\": [\n \"<string>\"\n ],\n \"recency_days\": 123,\n \"vertical\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_bodyUpspring
Browse ads
Use to list a brand’s or a vertical’s ads by filter: what an advertiser is running now (advertiser_id + is_active=true), or the winners in a category (order_by=best, min_impressions=4).
POST
https://api.aisa.one
/
apis
/
v1
/
upspring
/
ads
/
browse
Browse ads
curl --request POST \
--url https://api.aisa.one/apis/v1/upspring/ads/browse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advertiser_id": [
"<string>"
],
"archetype": [
"<string>"
],
"category": "<string>",
"claim_type": [
"<string>"
],
"cursor": "<string>",
"evidence_type": [
"<string>"
],
"funnel": [
"<string>"
],
"has_product": "<string>",
"hook_archetype": [
"<string>"
],
"hook_polarity": [
"<string>"
],
"include": "<string>",
"is_active": "<string>",
"limit": 123,
"mechanism": [
"<string>"
],
"media_type": [
"<string>"
],
"min_impressions": 123,
"offer_type": [
"<string>"
],
"order_by": "random",
"persona": [
"<string>"
],
"persuasion_technique": [
"<string>"
],
"positioning": [
"<string>"
],
"recency_days": 123,
"vertical": [
"<string>"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/upspring/ads/browse"
payload = {
"advertiser_id": ["<string>"],
"archetype": ["<string>"],
"category": "<string>",
"claim_type": ["<string>"],
"cursor": "<string>",
"evidence_type": ["<string>"],
"funnel": ["<string>"],
"has_product": "<string>",
"hook_archetype": ["<string>"],
"hook_polarity": ["<string>"],
"include": "<string>",
"is_active": "<string>",
"limit": 123,
"mechanism": ["<string>"],
"media_type": ["<string>"],
"min_impressions": 123,
"offer_type": ["<string>"],
"order_by": "random",
"persona": ["<string>"],
"persuasion_technique": ["<string>"],
"positioning": ["<string>"],
"recency_days": 123,
"vertical": ["<string>"]
}
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({
advertiser_id: ['<string>'],
archetype: ['<string>'],
category: '<string>',
claim_type: ['<string>'],
cursor: '<string>',
evidence_type: ['<string>'],
funnel: ['<string>'],
has_product: '<string>',
hook_archetype: ['<string>'],
hook_polarity: ['<string>'],
include: '<string>',
is_active: '<string>',
limit: 123,
mechanism: ['<string>'],
media_type: ['<string>'],
min_impressions: 123,
offer_type: ['<string>'],
order_by: 'random',
persona: ['<string>'],
persuasion_technique: ['<string>'],
positioning: ['<string>'],
recency_days: 123,
vertical: ['<string>']
})
};
fetch('https://api.aisa.one/apis/v1/upspring/ads/browse', 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.aisa.one/apis/v1/upspring/ads/browse",
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([
'advertiser_id' => [
'<string>'
],
'archetype' => [
'<string>'
],
'category' => '<string>',
'claim_type' => [
'<string>'
],
'cursor' => '<string>',
'evidence_type' => [
'<string>'
],
'funnel' => [
'<string>'
],
'has_product' => '<string>',
'hook_archetype' => [
'<string>'
],
'hook_polarity' => [
'<string>'
],
'include' => '<string>',
'is_active' => '<string>',
'limit' => 123,
'mechanism' => [
'<string>'
],
'media_type' => [
'<string>'
],
'min_impressions' => 123,
'offer_type' => [
'<string>'
],
'order_by' => 'random',
'persona' => [
'<string>'
],
'persuasion_technique' => [
'<string>'
],
'positioning' => [
'<string>'
],
'recency_days' => 123,
'vertical' => [
'<string>'
]
]),
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.aisa.one/apis/v1/upspring/ads/browse"
payload := strings.NewReader("{\n \"advertiser_id\": [\n \"<string>\"\n ],\n \"archetype\": [\n \"<string>\"\n ],\n \"category\": \"<string>\",\n \"claim_type\": [\n \"<string>\"\n ],\n \"cursor\": \"<string>\",\n \"evidence_type\": [\n \"<string>\"\n ],\n \"funnel\": [\n \"<string>\"\n ],\n \"has_product\": \"<string>\",\n \"hook_archetype\": [\n \"<string>\"\n ],\n \"hook_polarity\": [\n \"<string>\"\n ],\n \"include\": \"<string>\",\n \"is_active\": \"<string>\",\n \"limit\": 123,\n \"mechanism\": [\n \"<string>\"\n ],\n \"media_type\": [\n \"<string>\"\n ],\n \"min_impressions\": 123,\n \"offer_type\": [\n \"<string>\"\n ],\n \"order_by\": \"random\",\n \"persona\": [\n \"<string>\"\n ],\n \"persuasion_technique\": [\n \"<string>\"\n ],\n \"positioning\": [\n \"<string>\"\n ],\n \"recency_days\": 123,\n \"vertical\": [\n \"<string>\"\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.aisa.one/apis/v1/upspring/ads/browse")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"advertiser_id\": [\n \"<string>\"\n ],\n \"archetype\": [\n \"<string>\"\n ],\n \"category\": \"<string>\",\n \"claim_type\": [\n \"<string>\"\n ],\n \"cursor\": \"<string>\",\n \"evidence_type\": [\n \"<string>\"\n ],\n \"funnel\": [\n \"<string>\"\n ],\n \"has_product\": \"<string>\",\n \"hook_archetype\": [\n \"<string>\"\n ],\n \"hook_polarity\": [\n \"<string>\"\n ],\n \"include\": \"<string>\",\n \"is_active\": \"<string>\",\n \"limit\": 123,\n \"mechanism\": [\n \"<string>\"\n ],\n \"media_type\": [\n \"<string>\"\n ],\n \"min_impressions\": 123,\n \"offer_type\": [\n \"<string>\"\n ],\n \"order_by\": \"random\",\n \"persona\": [\n \"<string>\"\n ],\n \"persuasion_technique\": [\n \"<string>\"\n ],\n \"positioning\": [\n \"<string>\"\n ],\n \"recency_days\": 123,\n \"vertical\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/upspring/ads/browse")
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 \"advertiser_id\": [\n \"<string>\"\n ],\n \"archetype\": [\n \"<string>\"\n ],\n \"category\": \"<string>\",\n \"claim_type\": [\n \"<string>\"\n ],\n \"cursor\": \"<string>\",\n \"evidence_type\": [\n \"<string>\"\n ],\n \"funnel\": [\n \"<string>\"\n ],\n \"has_product\": \"<string>\",\n \"hook_archetype\": [\n \"<string>\"\n ],\n \"hook_polarity\": [\n \"<string>\"\n ],\n \"include\": \"<string>\",\n \"is_active\": \"<string>\",\n \"limit\": 123,\n \"mechanism\": [\n \"<string>\"\n ],\n \"media_type\": [\n \"<string>\"\n ],\n \"min_impressions\": 123,\n \"offer_type\": [\n \"<string>\"\n ],\n \"order_by\": \"random\",\n \"persona\": [\n \"<string>\"\n ],\n \"persuasion_technique\": [\n \"<string>\"\n ],\n \"positioning\": [\n \"<string>\"\n ],\n \"recency_days\": 123,\n \"vertical\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/upspring/ads/browse
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/upspring/ads/browse
{
"operationId": "upspring.ads.browse",
"method": "POST",
"path": "/apis/v1/upspring/ads/browse",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"properties": {
"advertiser_id": {
"description": "Only ads from these advertiser ids.",
"items": {
"type": "string"
},
"type": "array"
},
"archetype": {
"description": "Only ads with this archetype id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"category": {
"description": "One category id within a vertical, from taxonomy/verticals.",
"type": "string"
},
"claim_type": {
"description": "Only ads that use this claim type (an ad can carry several). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"cursor": {
"description": "meta.next_cursor from the previous page, verbatim. Send the same filters with it; a cursor replayed with changed filters is refused.",
"type": "string"
},
"evidence_type": {
"description": "Only ads that use this evidence type (an ad can carry several). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"funnel": {
"description": "Only ads with this funnel id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"has_product": {
"description": "true for ads whose landing page has store data (price, vendor), false for ads without. Omit for both.\n\nProvider reference: allowed values [\"true\", \"false\"].",
"type": "string",
"x-alexandria-option-metadata": {
"oneOf": [
"true",
"false"
]
}
},
"hook_archetype": {
"description": "Only ads with this hook archetype id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"hook_polarity": {
"description": "Only ads with this hook polarity id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"include": {
"description": "Comma-separated: descriptors adds synopsis and long_form narration per ad (token-heavy); media adds durable {video_url, image_url, thumbnail_url, width, height}.",
"type": "string"
},
"is_active": {
"description": "true for ads running now, false for stopped ones. Omit for both.\n\nProvider reference: allowed values [\"true\", \"false\"].",
"type": "string",
"x-alexandria-option-metadata": {
"oneOf": [
"true",
"false"
]
}
},
"limit": {
"description": "Ads per page, 1 to 100 (1 to 50 with include=descriptors). Default 25.\n\nProvider reference: minimum 1; maximum 100.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 100,
"min": 1
}
},
"mechanism": {
"description": "Only ads with this mechanism id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"media_type": {
"description": "Only ads with this media type id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"min_impressions": {
"description": "Winners-only floor on Meta's 1 to 5 delivery-strength indicator. Excludes ads without one.\n\nProvider reference: minimum 1; maximum 5.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 5,
"min": 1
}
},
"offer_type": {
"description": "Only ads with this offer type id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"order_by": {
"default": "random",
"description": "random (a fresh sample each call), recent, or best (performance-signal ranked).\n\nProvider reference: allowed values [\"random\", \"recent\", \"best\"]; default \"random\".",
"type": "string",
"x-alexandria-option-metadata": {
"oneOf": [
"random",
"recent",
"best"
]
}
},
"persona": {
"description": "Only ads with this persona id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"persuasion_technique": {
"description": "Only ads that use this persuasion technique (an ad can carry several). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"positioning": {
"description": "Only ads with this positioning id (OR across values). Ids from taxonomy/vertical's dimensions.",
"items": {
"type": "string"
},
"type": "array"
},
"recency_days": {
"description": "Only ads first seen in the last N days (1 to 365).\n\nProvider reference: minimum 1; maximum 365.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 365,
"min": 1
}
},
"vertical": {
"description": "Vertical id(s), for example beverages or skincare. Ids come from taxonomy/verticals.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
{data: ads, meta: {order, note, next_cursor}}. Pass meta.next_cursor back as cursor for the next page; null on the last.
The response contains the tool result directly.
The provider identifies data as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
id | string | Ad id, for ads/detail and ads/similar. |
advertiser | object | {id, name} of the brand running it. |
media_type | string | video, image or another format. |
is_active | boolean | Whether the ad is running now. |
started_at | string | When the ad was first seen. |
dimensions | object | Creative dimensions as {id, label} per dimension name; a key is absent when unanalyzed. |
one_line | string | One-sentence description of the ad. |
hook_text | string | Verbatim opening line, for video ads. |
strength | object | {impressions: Meta's 1-5 delivery indicator, engagement: none, observed or high}. |
ad_library_url | string | The ad's public Meta Ad Library page, or null. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.