[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MQKDT550RJKD1ADC8R0WJM":3,"skill-same:01M6MQKDT550RJKD1ADC8R0WJM":58},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M6MQKDT550RJKD1ADC8R0WJM","meta-ads",null,"Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fmeta-ads\u002Fskill.md",[],[17,18,19,20,5,21],"Meta","ads","meta ads","api","latest","2026-11-10 10:12:30",false,"---\nslug: meta-ads\ndisplay_name: Meta Ads API\nversion: 1.0.0\ntags: [latest]\n---\n\n# Meta Ads API\n\n## Description\n\nFull read\u002Fwrite integration with Meta (Facebook) Ads API for managing campaigns, ad sets, ads, and accessing performance insights\u002Fmetrics.\n\n## Setup\n\n### Environment Variables\n\n- `META_ACCESS_TOKEN` - Meta access token (User Access Token or System User Token)\n- `META_AD_ACCOUNT_ID` - Your ad account ID (numeric, without `act_` prefix)\n\n### Required Permissions\n\n- `ads_read` - Read access to ads data\n- `ads_management` - Create, edit, and delete ads\n\n### Token Types\n\n**User Access Token**\n- Short-lived: ~2 hours\n- Can be extended to 60-90 days\n- Obtained via OAuth flow or Graph API Explorer\n\n**System User Token**\n- No expiration\n- Recommended for production\u002Fautomated access\n- Created in Business Manager\n\n### Authentication\n\nAll requests require the access token as a query parameter or header:\n\n```\nAuthorization: Bearer $META_ACCESS_TOKEN\nContent-Type: application\u002Fjson\n```\n\nOr as query parameter:\n```\n?access_token=$META_ACCESS_TOKEN\n```\n\n## API Reference\n\nBase URL: `https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F`\n\n**Important:** Ad account IDs must be prefixed with `act_` in API calls (e.g., `act_123456789`).\n\n### Ad Account\n\n#### Get Ad Account Info\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID?fields=name,account_status,currency,timezone_name,amount_spent\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Campaigns\n\n#### List Campaigns\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fcampaigns?fields=id,name,status,objective,daily_budget,lifetime_budget,created_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Single Campaign\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}?fields=id,name,status,objective,daily_budget,lifetime_budget,created_time,updated_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Campaign\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fcampaigns\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Campaign\",\n    \"objective\": \"OUTCOME_TRAFFIC\",\n    \"status\": \"PAUSED\",\n    \"special_ad_categories\": []\n  }'\n```\n\n#### Update Campaign\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Updated Campaign Name\",\n    \"status\": \"ACTIVE\"\n  }'\n```\n\n#### Pause Campaign\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Delete Campaign\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Ad Sets\n\n#### List Ad Sets\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadsets?fields=id,name,status,campaign_id,daily_budget,lifetime_budget,targeting,optimization_goal\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Single Ad Set\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}?fields=id,name,status,campaign_id,daily_budget,lifetime_budget,targeting,optimization_goal,bid_amount,billing_event\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Ad Set\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadsets\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Ad Set\",\n    \"campaign_id\": \"{CAMPAIGN_ID}\",\n    \"daily_budget\": 5000,\n    \"billing_event\": \"IMPRESSIONS\",\n    \"optimization_goal\": \"LINK_CLICKS\",\n    \"bid_amount\": 200,\n    \"targeting\": {\n      \"geo_locations\": {\n        \"countries\": [\"US\"]\n      },\n      \"age_min\": 18,\n      \"age_max\": 65\n    },\n    \"status\": \"PAUSED\"\n  }'\n```\n\n**Note:** Budget values are in cents (e.g., 5000 = $50.00).\n\n#### Update Ad Set\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Updated Ad Set Name\",\n    \"daily_budget\": 10000,\n    \"status\": \"ACTIVE\"\n  }'\n```\n\n#### Pause Ad Set\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Delete Ad Set\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Ads\n\n#### List Ads\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fads?fields=id,name,status,adset_id,campaign_id,creative,created_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Single Ad\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}?fields=id,name,status,adset_id,campaign_id,creative,tracking_specs,created_time,updated_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Ad\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fads\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Ad\",\n    \"adset_id\": \"{ADSET_ID}\",\n    \"creative\": {\n      \"creative_id\": \"{CREATIVE_ID}\"\n    },\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Create Ad with Inline Creative\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fads\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Ad\",\n    \"adset_id\": \"{ADSET_ID}\",\n    \"creative\": {\n      \"object_story_spec\": {\n        \"page_id\": \"{PAGE_ID}\",\n        \"link_data\": {\n          \"link\": \"https:\u002F\u002Fexample.com\",\n          \"message\": \"Check out our website!\",\n          \"name\": \"Example Site\",\n          \"call_to_action\": {\n            \"type\": \"LEARN_MORE\"\n          }\n        }\n      }\n    },\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Update Ad\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Updated Ad Name\",\n    \"status\": \"ACTIVE\"\n  }'\n```\n\n#### Pause Ad\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Delete Ad\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Ad Creatives\n\n#### List Ad Creatives\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadcreatives?fields=id,name,object_story_spec,thumbnail_url\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Ad Creative\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadcreatives\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Creative\",\n    \"object_story_spec\": {\n      \"page_id\": \"{PAGE_ID}\",\n      \"link_data\": {\n        \"link\": \"https:\u002F\u002Fexample.com\",\n        \"message\": \"Ad copy text here\",\n        \"name\": \"Headline\",\n        \"description\": \"Description text\",\n        \"call_to_action\": {\n          \"type\": \"SHOP_NOW\"\n        }\n      }\n    }\n  }'\n```\n\n---\n\n### Insights (Performance Metrics)\n\n#### Get Account-Level Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks,reach,cpc,cpm,ctr&date_preset=last_30d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Campaign Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\u002Finsights?fields=spend,impressions,clicks,reach,frequency,cpc,cpm,ctr,actions&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Ad Set Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\u002Finsights?fields=spend,impressions,clicks,reach,cpc,cpm,ctr,actions&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Ad Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\u002Finsights?fields=spend,impressions,clicks,reach,cpc,cpm,ctr,actions&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights with Custom Date Range\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks,cpc,cpm,ctr&time_range={\\\"since\\\":\\\"2026-01-01\\\",\\\"until\\\":\\\"2026-01-31\\\"}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights with Breakdowns\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks,cpc&breakdowns=age,gender&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights by Day\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks&time_increment=1&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights with Attribution Window\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\u002Finsights?fields=spend,actions,action_values&action_attribution_windows=[\\\"7d_click\\\",\\\"1d_view\\\"]&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n## Campaign Objectives\n\n| Objective | Description |\n|-----------|-------------|\n| `OUTCOME_AWARENESS` | Brand awareness and reach |\n| `OUTCOME_ENGAGEMENT` | Post engagement, page likes, event responses |\n| `OUTCOME_TRAFFIC` | Drive traffic to website or app |\n| `OUTCOME_LEADS` | Lead generation |\n| `OUTCOME_APP_PROMOTION` | App installs and engagement |\n| `OUTCOME_SALES` | Conversions and catalog sales |\n\n**Legacy objectives (still supported):**\n- `BRAND_AWARENESS`, `REACH`, `LINK_CLICKS`, `POST_ENGAGEMENT`, `VIDEO_VIEWS`, `LEAD_GENERATION`, `CONVERSIONS`, `APP_INSTALLS`\n\n## Targeting Options\n\n### Geographic Targeting\n\n```json\n{\n  \"geo_locations\": {\n    \"countries\": [\"US\", \"CA\"],\n    \"regions\": [{\"key\": \"4081\"}],\n    \"cities\": [{\"key\": \"2420379\", \"radius\": 25, \"distance_unit\": \"mile\"}],\n    \"zips\": [{\"key\": \"US:90210\"}]\n  }\n}\n```\n\n### Demographic Targeting\n\n```json\n{\n  \"age_min\": 25,\n  \"age_max\": 54,\n  \"genders\": [1, 2]\n}\n```\n\nGender values: `1` = Male, `2` = Female\n\n### Interest Targeting\n\n```json\n{\n  \"flexible_spec\": [{\n    \"interests\": [{\"id\": \"6003139266461\", \"name\": \"Technology\"}]\n  }]\n}\n```\n\n## Budget Types\n\n| Type | Description |\n|------|-------------|\n| `daily_budget` | Maximum spend per day (in cents) |\n| `lifetime_budget` | Total budget for campaign\u002Fad set duration (in cents) |\n\n**Important:** Budget values are in the smallest currency unit (cents for USD). Example: `5000` = $50.00\n\n## Status Values\n\n| Status | Description |\n|--------|-------------|\n| `ACTIVE` | Currently running |\n| `PAUSED` | Manually paused |\n| `DELETED` | Soft deleted |\n| `ARCHIVED` | Archived, not running |\n\n## Available Metrics\n\n| Metric | Description |\n|--------|-------------|\n| `spend` | Total amount spent |\n| `impressions` | Number of times ads were shown |\n| `clicks` | Number of clicks on ads |\n| `reach` | Number of unique people who saw ads |\n| `frequency` | Average number of times each person saw your ad |\n| `cpc` | Cost per click |\n| `cpm` | Cost per 1,000 impressions |\n| `ctr` | Click-through rate (clicks \u002F impressions) |\n| `cpp` | Cost per 1,000 people reached |\n| `actions` | Total actions (conversions) broken down by type |\n| `action_values` | Value of conversions |\n| `conversions` | Number of conversions |\n| `cost_per_action_type` | Cost per action by type |\n\n## Attribution Windows\n\n| Window | Description |\n|--------|-------------|\n| `1d_click` | 1-day click attribution |\n| `7d_click` | 7-day click attribution (default) |\n| `28d_click` | 28-day click attribution |\n| `1d_view` | 1-day view-through attribution |\n\n**Note:** As of January 2026, 7-day view (`7d_view`) and 28-day view (`28d_view`) attribution windows have been removed. Only `1d_view` remains for view-through attribution.\n\n## Breakdowns\n\n| Breakdown | Description |\n|-----------|-------------|\n| `age` | Age ranges (18-24, 25-34, etc.) |\n| `gender` | Male, Female, Unknown |\n| `placement` | Where ad was shown (feed, stories, etc.) |\n| `device_platform` | Device type (mobile, desktop) |\n| `platform_position` | Position within platform |\n| `publisher_platform` | Facebook, Instagram, Audience Network |\n| `country` | Country of viewer |\n| `region` | Region\u002Fstate of viewer |\n\n## Date Presets\n\n| Preset | Description |\n|--------|-------------|\n| `today` | Today only |\n| `yesterday` | Yesterday only |\n| `this_month` | Current month |\n| `last_month` | Previous month |\n| `last_7d` | Last 7 days |\n| `last_14d` | Last 14 days |\n| `last_28d` | Last 28 days |\n| `last_30d` | Last 30 days |\n| `last_90d` | Last 90 days |\n\n## Pagination\n\nThe API uses cursor-based pagination. Responses include a `paging` object with cursors.\n\n```json\n{\n  \"data\": [...],\n  \"paging\": {\n    \"cursors\": {\n      \"before\": \"abc123\",\n      \"after\": \"xyz789\"\n    },\n    \"next\": \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F...\"\n  }\n}\n```\n\nTo get the next page:\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fcampaigns?fields=id,name&after={AFTER_CURSOR}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n**Limits:**\n- Default: 25 records per page\n- Maximum: 5000 records per page (use `limit` parameter)\n\n## Rate Limits\n\nRate limits are calculated per ad account using the formula:\n\n```\nCall Limit = 60 + (400 × Active Ads) - (0.001 × API Errors)\n```\n\n- Minimum: 60 calls per hour\n- Increases with more active ads\n- Decreases with API errors\n\n**Handling Rate Limits:**\n- Check `X-Business-Use-Case-Usage` header for current usage\n- Implement exponential backoff when receiving 429 responses\n- Start with 1 second delay, double on each retry (max 5 retries)\n\n## Token Management\n\n### Extending User Access Tokens\n\nShort-lived user tokens (~2 hours) can be exchanged for long-lived tokens (60-90 days):\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Foauth\u002Faccess_token?grant_type=fb_exchange_token&client_id={APP_ID}&client_secret={APP_SECRET}&fb_exchange_token={SHORT_LIVED_TOKEN}\"\n```\n\nResponse:\n```json\n{\n  \"access_token\": \"long_lived_token_here\",\n  \"token_type\": \"bearer\",\n  \"expires_in\": 5184000\n}\n```\n\n### Debugging Tokens\n\nCheck token validity and permissions:\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fdebug_token?input_token={TOKEN_TO_CHECK}&access_token={APP_ID}|{APP_SECRET}\"\n```\n\n### Recommended: System User Tokens\n\nFor production use, create a System User in Business Manager:\n\n1. Go to Business Settings > Users > System Users\n2. Create a new System User with \"Admin\" role\n3. Assign the ad account to the System User\n4. Generate a token with `ads_read` and `ads_management` permissions\n\nSystem User tokens do not expire.\n\n## Changelog\n\n### v1.0.0\n\n- Initial release with full read\u002Fwrite access\n- Ad Account: get info\n- Campaigns: list, get, create, update, pause, delete\n- Ad Sets: list, get, create, update, pause, delete with targeting\n- Ads: list, get, create, update, pause, delete\n- Ad Creatives: list, create\n- Insights: account\u002Fcampaign\u002Fadset\u002Fad level with all metrics\n- Support for breakdowns, date ranges, and attribution windows\n- Campaign objectives and targeting documentation\n- Budget types (daily\u002Flifetime) in cents\n- Pagination documentation\n- Rate limits and token management\n","# Meta Ads API\n\n## Description\n\nFull read\u002Fwrite integration with Meta (Facebook) Ads API for managing campaigns, ad sets, ads, and accessing performance insights\u002Fmetrics.\n\n## Setup\n\n### Environment Variables\n\n- `META_ACCESS_TOKEN` - Meta access token (User Access Token or System User Token)\n- `META_AD_ACCOUNT_ID` - Your ad account ID (numeric, without `act_` prefix)\n\n### Required Permissions\n\n- `ads_read` - Read access to ads data\n- `ads_management` - Create, edit, and delete ads\n\n### Token Types\n\n**User Access Token**\n- Short-lived: ~2 hours\n- Can be extended to 60-90 days\n- Obtained via OAuth flow or Graph API Explorer\n\n**System User Token**\n- No expiration\n- Recommended for production\u002Fautomated access\n- Created in Business Manager\n\n### Authentication\n\nAll requests require the access token as a query parameter or header:\n\n```\nAuthorization: Bearer $META_ACCESS_TOKEN\nContent-Type: application\u002Fjson\n```\n\nOr as query parameter:\n```\n?access_token=$META_ACCESS_TOKEN\n```\n\n## API Reference\n\nBase URL: `https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F`\n\n**Important:** Ad account IDs must be prefixed with `act_` in API calls (e.g., `act_123456789`).\n\n### Ad Account\n\n#### Get Ad Account Info\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID?fields=name,account_status,currency,timezone_name,amount_spent\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Campaigns\n\n#### List Campaigns\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fcampaigns?fields=id,name,status,objective,daily_budget,lifetime_budget,created_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Single Campaign\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}?fields=id,name,status,objective,daily_budget,lifetime_budget,created_time,updated_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Campaign\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fcampaigns\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Campaign\",\n    \"objective\": \"OUTCOME_TRAFFIC\",\n    \"status\": \"PAUSED\",\n    \"special_ad_categories\": []\n  }'\n```\n\n#### Update Campaign\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Updated Campaign Name\",\n    \"status\": \"ACTIVE\"\n  }'\n```\n\n#### Pause Campaign\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Delete Campaign\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Ad Sets\n\n#### List Ad Sets\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadsets?fields=id,name,status,campaign_id,daily_budget,lifetime_budget,targeting,optimization_goal\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Single Ad Set\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}?fields=id,name,status,campaign_id,daily_budget,lifetime_budget,targeting,optimization_goal,bid_amount,billing_event\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Ad Set\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadsets\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Ad Set\",\n    \"campaign_id\": \"{CAMPAIGN_ID}\",\n    \"daily_budget\": 5000,\n    \"billing_event\": \"IMPRESSIONS\",\n    \"optimization_goal\": \"LINK_CLICKS\",\n    \"bid_amount\": 200,\n    \"targeting\": {\n      \"geo_locations\": {\n        \"countries\": [\"US\"]\n      },\n      \"age_min\": 18,\n      \"age_max\": 65\n    },\n    \"status\": \"PAUSED\"\n  }'\n```\n\n**Note:** Budget values are in cents (e.g., 5000 = $50.00).\n\n#### Update Ad Set\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Updated Ad Set Name\",\n    \"daily_budget\": 10000,\n    \"status\": \"ACTIVE\"\n  }'\n```\n\n#### Pause Ad Set\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Delete Ad Set\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Ads\n\n#### List Ads\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fads?fields=id,name,status,adset_id,campaign_id,creative,created_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Single Ad\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}?fields=id,name,status,adset_id,campaign_id,creative,tracking_specs,created_time,updated_time\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Ad\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fads\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Ad\",\n    \"adset_id\": \"{ADSET_ID}\",\n    \"creative\": {\n      \"creative_id\": \"{CREATIVE_ID}\"\n    },\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Create Ad with Inline Creative\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fads\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Ad\",\n    \"adset_id\": \"{ADSET_ID}\",\n    \"creative\": {\n      \"object_story_spec\": {\n        \"page_id\": \"{PAGE_ID}\",\n        \"link_data\": {\n          \"link\": \"https:\u002F\u002Fexample.com\",\n          \"message\": \"Check out our website!\",\n          \"name\": \"Example Site\",\n          \"call_to_action\": {\n            \"type\": \"LEARN_MORE\"\n          }\n        }\n      }\n    },\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Update Ad\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Updated Ad Name\",\n    \"status\": \"ACTIVE\"\n  }'\n```\n\n#### Pause Ad\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"status\": \"PAUSED\"\n  }'\n```\n\n#### Delete Ad\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n---\n\n### Ad Creatives\n\n#### List Ad Creatives\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadcreatives?fields=id,name,object_story_spec,thumbnail_url\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Create Ad Creative\n\n```bash\ncurl -X POST \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fadcreatives\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Creative\",\n    \"object_story_spec\": {\n      \"page_id\": \"{PAGE_ID}\",\n      \"link_data\": {\n        \"link\": \"https:\u002F\u002Fexample.com\",\n        \"message\": \"Ad copy text here\",\n        \"name\": \"Headline\",\n        \"description\": \"Description text\",\n        \"call_to_action\": {\n          \"type\": \"SHOP_NOW\"\n        }\n      }\n    }\n  }'\n```\n\n---\n\n### Insights (Performance Metrics)\n\n#### Get Account-Level Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks,reach,cpc,cpm,ctr&date_preset=last_30d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Campaign Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\u002Finsights?fields=spend,impressions,clicks,reach,frequency,cpc,cpm,ctr,actions&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Ad Set Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{ADSET_ID}\u002Finsights?fields=spend,impressions,clicks,reach,cpc,cpm,ctr,actions&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Ad Insights\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{AD_ID}\u002Finsights?fields=spend,impressions,clicks,reach,cpc,cpm,ctr,actions&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights with Custom Date Range\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks,cpc,cpm,ctr&time_range={\\\"since\\\":\\\"2026-01-01\\\",\\\"until\\\":\\\"2026-01-31\\\"}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights with Breakdowns\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks,cpc&breakdowns=age,gender&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights by Day\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Finsights?fields=spend,impressions,clicks&time_increment=1&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n#### Get Insights with Attribution Window\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F{CAMPAIGN_ID}\u002Finsights?fields=spend,actions,action_values&action_attribution_windows=[\\\"7d_click\\\",\\\"1d_view\\\"]&date_preset=last_7d\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n## Campaign Objectives\n\n| Objective | Description |\n|-----------|-------------|\n| `OUTCOME_AWARENESS` | Brand awareness and reach |\n| `OUTCOME_ENGAGEMENT` | Post engagement, page likes, event responses |\n| `OUTCOME_TRAFFIC` | Drive traffic to website or app |\n| `OUTCOME_LEADS` | Lead generation |\n| `OUTCOME_APP_PROMOTION` | App installs and engagement |\n| `OUTCOME_SALES` | Conversions and catalog sales |\n\n**Legacy objectives (still supported):**\n- `BRAND_AWARENESS`, `REACH`, `LINK_CLICKS`, `POST_ENGAGEMENT`, `VIDEO_VIEWS`, `LEAD_GENERATION`, `CONVERSIONS`, `APP_INSTALLS`\n\n## Targeting Options\n\n### Geographic Targeting\n\n```json\n{\n  \"geo_locations\": {\n    \"countries\": [\"US\", \"CA\"],\n    \"regions\": [{\"key\": \"4081\"}],\n    \"cities\": [{\"key\": \"2420379\", \"radius\": 25, \"distance_unit\": \"mile\"}],\n    \"zips\": [{\"key\": \"US:90210\"}]\n  }\n}\n```\n\n### Demographic Targeting\n\n```json\n{\n  \"age_min\": 25,\n  \"age_max\": 54,\n  \"genders\": [1, 2]\n}\n```\n\nGender values: `1` = Male, `2` = Female\n\n### Interest Targeting\n\n```json\n{\n  \"flexible_spec\": [{\n    \"interests\": [{\"id\": \"6003139266461\", \"name\": \"Technology\"}]\n  }]\n}\n```\n\n## Budget Types\n\n| Type | Description |\n|------|-------------|\n| `daily_budget` | Maximum spend per day (in cents) |\n| `lifetime_budget` | Total budget for campaign\u002Fad set duration (in cents) |\n\n**Important:** Budget values are in the smallest currency unit (cents for USD). Example: `5000` = $50.00\n\n## Status Values\n\n| Status | Description |\n|--------|-------------|\n| `ACTIVE` | Currently running |\n| `PAUSED` | Manually paused |\n| `DELETED` | Soft deleted |\n| `ARCHIVED` | Archived, not running |\n\n## Available Metrics\n\n| Metric | Description |\n|--------|-------------|\n| `spend` | Total amount spent |\n| `impressions` | Number of times ads were shown |\n| `clicks` | Number of clicks on ads |\n| `reach` | Number of unique people who saw ads |\n| `frequency` | Average number of times each person saw your ad |\n| `cpc` | Cost per click |\n| `cpm` | Cost per 1,000 impressions |\n| `ctr` | Click-through rate (clicks \u002F impressions) |\n| `cpp` | Cost per 1,000 people reached |\n| `actions` | Total actions (conversions) broken down by type |\n| `action_values` | Value of conversions |\n| `conversions` | Number of conversions |\n| `cost_per_action_type` | Cost per action by type |\n\n## Attribution Windows\n\n| Window | Description |\n|--------|-------------|\n| `1d_click` | 1-day click attribution |\n| `7d_click` | 7-day click attribution (default) |\n| `28d_click` | 28-day click attribution |\n| `1d_view` | 1-day view-through attribution |\n\n**Note:** As of January 2026, 7-day view (`7d_view`) and 28-day view (`28d_view`) attribution windows have been removed. Only `1d_view` remains for view-through attribution.\n\n## Breakdowns\n\n| Breakdown | Description |\n|-----------|-------------|\n| `age` | Age ranges (18-24, 25-34, etc.) |\n| `gender` | Male, Female, Unknown |\n| `placement` | Where ad was shown (feed, stories, etc.) |\n| `device_platform` | Device type (mobile, desktop) |\n| `platform_position` | Position within platform |\n| `publisher_platform` | Facebook, Instagram, Audience Network |\n| `country` | Country of viewer |\n| `region` | Region\u002Fstate of viewer |\n\n## Date Presets\n\n| Preset | Description |\n|--------|-------------|\n| `today` | Today only |\n| `yesterday` | Yesterday only |\n| `this_month` | Current month |\n| `last_month` | Previous month |\n| `last_7d` | Last 7 days |\n| `last_14d` | Last 14 days |\n| `last_28d` | Last 28 days |\n| `last_30d` | Last 30 days |\n| `last_90d` | Last 90 days |\n\n## Pagination\n\nThe API uses cursor-based pagination. Responses include a `paging` object with cursors.\n\n```json\n{\n  \"data\": [...],\n  \"paging\": {\n    \"cursors\": {\n      \"before\": \"abc123\",\n      \"after\": \"xyz789\"\n    },\n    \"next\": \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002F...\"\n  }\n}\n```\n\nTo get the next page:\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fact_$META_AD_ACCOUNT_ID\u002Fcampaigns?fields=id,name&after={AFTER_CURSOR}\" \\\n  -H \"Authorization: Bearer $META_ACCESS_TOKEN\"\n```\n\n**Limits:**\n- Default: 25 records per page\n- Maximum: 5000 records per page (use `limit` parameter)\n\n## Rate Limits\n\nRate limits are calculated per ad account using the formula:\n\n```\nCall Limit = 60 + (400 × Active Ads) - (0.001 × API Errors)\n```\n\n- Minimum: 60 calls per hour\n- Increases with more active ads\n- Decreases with API errors\n\n**Handling Rate Limits:**\n- Check `X-Business-Use-Case-Usage` header for current usage\n- Implement exponential backoff when receiving 429 responses\n- Start with 1 second delay, double on each retry (max 5 retries)\n\n## Token Management\n\n### Extending User Access Tokens\n\nShort-lived user tokens (~2 hours) can be exchanged for long-lived tokens (60-90 days):\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Foauth\u002Faccess_token?grant_type=fb_exchange_token&client_id={APP_ID}&client_secret={APP_SECRET}&fb_exchange_token={SHORT_LIVED_TOKEN}\"\n```\n\nResponse:\n```json\n{\n  \"access_token\": \"long_lived_token_here\",\n  \"token_type\": \"bearer\",\n  \"expires_in\": 5184000\n}\n```\n\n### Debugging Tokens\n\nCheck token validity and permissions:\n\n```bash\ncurl \"https:\u002F\u002Fgraph.facebook.com\u002Fv25.0\u002Fdebug_token?input_token={TOKEN_TO_CHECK}&access_token={APP_ID}|{APP_SECRET}\"\n```\n\n### Recommended: System User Tokens\n\nFor production use, create a System User in Business Manager:\n\n1. Go to Business Settings > Users > System Users\n2. Create a new System User with \"Admin\" role\n3. Assign the ad account to the System User\n4. Generate a token with `ads_read` and `ads_management` permissions\n\nSystem User tokens do not expire.\n\n## Changelog\n\n### v1.0.0\n\n- Initial release with full read\u002Fwrite access\n- Ad Account: get info\n- Campaigns: list, get, create, update, pause, delete\n- Ad Sets: list, get, create, update, pause, delete with targeting\n- Ads: list, get, create, update, pause, delete\n- Ad Creatives: list, create\n- Insights: account\u002Fcampaign\u002Fadset\u002Fad level with all metrics\n- Support for breakdowns, date ranges, and attribution windows\n- Campaign objectives and targeting documentation\n- Budget types (daily\u002Flifetime) in cents\n- Pagination documentation\n- Rate limits and token management\n",{"slug":5,"tags":27,"version":28,"display_name":29},[21],"1.0.0","Meta Ads API","main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","APIs与集成\u002Fmeta-ads",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":7,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill meta-ads",{"tool":44,"command":45},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill meta-ads",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill meta-ads","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fmeta-ads\u002Fskill.md",true,[52],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"_meta.json","REFERENCE","参考文档",275,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FAPIs与集成\u002Fmeta-ads\u002F_meta.json",[59,83,105,113,120,147],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":22},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[61,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":22},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[20,89,90,91,92,93,94,68,95,72,96,97,98,99,100,101,102,103,104],"zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":22},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[20,111,112,89,90,91,92,93,94,68,95,72,97,98,99,100,101,102,103,104],"api skill","zerion api skill",{"skillNo":114,"name":115,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":22},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[91,20,119,89,90,92,93,68,95,72,96,97,98,99,100,101,102,103,104],"zerion api mcp",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":22},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":22},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[127,128,130,154,155,156,157,158,159,138,160,161,162,163,164,165,166,167,104,145],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]