curl --request POST \
--url https://api.aisa.one/v1/tasks/ads.get_ad \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "meta",
"url": "https://www.facebook.com/ads/library?id=1702938977100376"
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"ad_id": "<string>",
"advertiser": {
"id": "<string>",
"name": "<string>"
},
"creative": {
"call_to_action": "<string>",
"landing_url": "<string>",
"media": [
{
"duration_seconds": 123,
"height": 123,
"thumbnail_url": "<string>",
"type": "image",
"url": "<string>",
"width": 123
}
],
"text": "<string>",
"title": "<string>"
},
"first_seen": "<string>",
"impressions_range": {
"currency": "<string>",
"max": 123,
"min": 123
},
"last_seen": "<string>",
"library_url": "<string>",
"platform": "meta",
"regions": [
"<string>"
],
"spend_range": {
"currency": "<string>",
"max": 123,
"min": 123
},
"status": "active",
"extras": {}
},
"status": "found",
"task": "ads.get_ad",
"version": 1
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}Ads
Get an ad
Use when you have the id or ad library URL of one ad (Meta Ad Library, Google Ads Transparency Center, TikTok Ad Library, LinkedIn Ad Library) and need its advertiser, copy, media, landing page, run dates, regions and the library’s published impressions or spend bands.
POST
https://api.aisa.one
/
v1
/
tasks
/
ads.get_ad
curl --request POST \
--url https://api.aisa.one/v1/tasks/ads.get_ad \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "meta",
"url": "https://www.facebook.com/ads/library?id=1702938977100376"
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"ad_id": "<string>",
"advertiser": {
"id": "<string>",
"name": "<string>"
},
"creative": {
"call_to_action": "<string>",
"landing_url": "<string>",
"media": [
{
"duration_seconds": 123,
"height": 123,
"thumbnail_url": "<string>",
"type": "image",
"url": "<string>",
"width": 123
}
],
"text": "<string>",
"title": "<string>"
},
"first_seen": "<string>",
"impressions_range": {
"currency": "<string>",
"max": 123,
"min": 123
},
"last_seen": "<string>",
"library_url": "<string>",
"platform": "meta",
"regions": [
"<string>"
],
"spend_range": {
"currency": "<string>",
"max": 123,
"min": 123
},
"status": "active",
"extras": {}
},
"status": "found",
"task": "ads.get_ad",
"version": 1
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}The request and response panels use the schemas published by this API. Conditional requirements and allowed combinations are part of the request schema. Check the complete schema before combining filters or identities.
A Shopify ad in the Google Ads Transparency Center
A LinkedIn ad by its id
Successful delivery is charged; a normal empty result is not charged.
Obtain an input-specific quote by sending the same request with
Examples
Each request below runs as written; the request panel offers the same examples. A Nike ad in the Meta Ad Library by its URL{
"input": {
"platform": "meta",
"url": "https://www.facebook.com/ads/library?id=1702938977100376"
}
}
{
"input": {
"platform": "google",
"url": "https://adstransparency.google.com/advertiser/AR01625195283841286145/creative/CR12531665678584774657"
}
}
{
"input": {
"platform": "linkedin",
"ad_id": "1651963854"
}
}
Billing
| Input | Price unit | Price (USD) |
|---|---|---|
| All valid inputs | Per successful request | 0.084 |
X-AISA-Cost-Mode: quote; quoting neither executes the Task nor reserves funds. Execution reserves the estimated request charge and settles under the rules above. Use X-AISA-Max-Price-USD to cap the price.
Use an Idempotency-Key when executing a Task. For errors, inspect error.code, error.request_id, error.retryable and error.retry_hint. A reconciliation hint requires checking the existing request before retrying; do not assume a pending settlement is a refund.