Meta ad accounts you can access
meta-ads.accountsList the Meta ad accounts you can access, with their names and currencies
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/meta-ads.accounts?limit=2PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
`id` comes back prefixed — act_1234567890 — and that PREFIXED form is what the other endpoints' path takes; account_id is the bare number. Money fields (amount_spent, balance) are strings in the account currency's MINOR unit (cents). This is also treg's connection resource picker
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
limit | 整数 | 任意 | 100 | |
fields | 文字列 | 必須 | id,name,account_id,account_status,currency,timezone_name,amount_spent,balance | |
- クエリパラメータ
limit整数任意例:
100fields文字列必須例:
id,name,account_id,account_status,currency,timezone_name,amount_spent,balance
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/meta-ads.accounts?limit=2' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/meta-ads.accounts?limit=2",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/meta-ads.accounts?limit=2", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。