[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75N5SXSK6TE5SWPD8MZ4VKE":3,"skill-same:01M75N5SXSK6TE5SWPD8MZ4VKE":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M75N5SXSK6TE5SWPD8MZ4VKE","etoro-apps",null,"Enables agents to interact with the eToro API to access market data, portfolio and social features, and execute trades programmatically. Supports both OAuth SSO and manual API key authentication.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmarian2js\u002Fetoro-apps\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: etoro-apps\nversion: 1.0.0\ndescription: Enables agents to interact with the eToro API to access market data, portfolio and social features, and execute trades programmatically. Supports both OAuth SSO and manual API key authentication.\nhomepage: https:\u002F\u002Fapi-portal.etoro.com\u002F\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"emoji\": \"📈\",\n        \"category\": \"finance\",\n        \"api_base\": \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\",\n      },\n  }\n---\n\n# eToro Public API\n\nBase URL: `https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1`\n\n## About\n\nThis skill allows to interact with the user's eToro account programatically, including executing trades.\n\n## Authentication & Required Headers\n\nThe eToro API supports **two** authentication methods. Both use the same base URL and endpoints — only the auth headers differ.\n\n### Method 1 — OAuth SSO (Bearer Token)\n\nIf the user authenticated via **\"Login with eToro\"** (SSO\u002FOAuth), an `access_token` is available from the token exchange.\n\n**Headers (every request):**\n\n- `x-request-id`: unique UUID per request\n- `Authorization`: `Bearer \u003Caccess_token>`\n\nWhere `access_token` comes from:\n\n1. User clicks \"Login with eToro\" → redirects to `https:\u002F\u002Fwww.etoro.com\u002Fsso\u002F` with PKCE challenge.\n2. User authenticates on eToro's side.\n3. eToro redirects back with an authorization `code`.\n4. The code is exchanged for tokens via `POST https:\u002F\u002Fwww.etoro.com\u002Fsso\u002Foidc\u002Ftoken`:\n   - `grant_type=authorization_code`\n   - `code=\u003Cauth_code>`\n   - `redirect_uri=\u003Ccallback_url>`\n   - `code_verifier=\u003Cpkce_verifier>`\n   - Plus `Authorization: Basic \u003Cbase64(client_id:client_secret)>` header\n5. Response contains:\n   - `access_token` — **this is the Bearer token for API calls** (~2130 chars, JWT)\n   - `id_token` — JWT with user identity (`sub` claim = 128-char encoded user ID)\n   - `token_type`: `\"Bearer\"`\n   - `expires_in`: (varies)\n\nExample:\n\n```bash\ncurl -X GET \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fwatchlists\" \\\n  -H \"x-request-id: \u003CUUID>\" \\\n  -H \"Authorization: Bearer \u003Caccess_token>\"\n```\n\n### Method 2 — Manual API Keys\n\nIf the user provides API keys manually (no OAuth), use key-based auth.\n\n**Keys (request from the user on install)**\n\n- **Public API Key**: application\n- **User Key**: user account\n- **Environment**: Real Portfolio or Virtual Portfolio (real\u002Fdemo)\n\n**Key generation (user-facing):**\n\n1. Log in to eToro.\n2. Settings > Trading.\n3. Create New Key.\n4. Choose **Environment** (Real or Virtual\u002FDemo) and **Permissions** (Read or Write).\n5. Verify identity and copy the generated User Key.\n\n**Headers (every request):**\n\n- `x-request-id`: unique UUID per request\n- `x-api-key`: Public API Key (`\u003CPUBLIC_KEY>`)\n- `x-user-key`: User Key (`\u003CUSER_KEY>`)\n\nExample:\n\n```bash\ncurl -X GET \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fwatchlists\" \\\n  -H \"x-request-id: \u003CUUID>\" \\\n  -H \"x-api-key: \u003CPUBLIC_KEY>\" \\\n  -H \"x-user-key: \u003CUSER_KEY>\"\n```\n\n### Choosing the Auth Method in Code\n\nWhen making requests, check which credentials are available:\n\n```typescript\nif (ctx.accessToken) {\n  \u002F\u002F SSO auth — Bearer token from OAuth token exchange\n  headers[\"Authorization\"] = `Bearer ${ctx.accessToken}`;\n} else {\n  \u002F\u002F Manual API key auth\n  headers[\"x-api-key\"] = ctx.apiKey;\n  headers[\"x-user-key\"] = ctx.userKey;\n}\n```\n\n## Request Conventions\n\n- **All paths below are relative to the Base URL** (which already includes `\u002Fapi\u002Fv1`).  \n  Example: `GET \u002Fwatchlists` means `GET https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fwatchlists`.\n- Query params go in the URL, path params go in the URL path.\n- For query params that are documented as `array`, send them as **comma-separated values** (e.g., `instrumentIds=1001,1002`).\n- Pagination patterns vary by endpoint:\n  - Search: `pageNumber`, `pageSize`\n  - People search & trade history: `page`, `pageSize`\n  - Feeds: `take`, `offset`\n  - Watchlist items listing: `pageNumber`, `itemsPerPage`\n- **Casing matters** for request bodies:\n  - Trading execution uses **PascalCase** fields (e.g., `InstrumentID`, `IsBuy`, `Leverage`).\n  - Market close body uses `InstrumentId` (capital I, lowercase d).\n  - Watchlist items use `ItemId`, `ItemType`, `ItemRank`.\n  - Feeds post body uses lower camel (`owner`, `message`, `tags`, `mentions`, `attachments`).\n- Some responses may use different casing for similar concepts (e.g., `instrumentId` vs `InstrumentID`). When extracting IDs, handle both if present.\n\n## Demo vs Real Trading\n\n- Use **demo execution endpoints** (contain `\u002Fdemo\u002F`) for testing and paper trading.\n- Use **non-demo execution endpoints** for real trading.\n- For portfolio\u002FPnL:\n  - Demo: `\u002Ftrading\u002Finfo\u002Fdemo\u002F*`\n  - Real: `\u002Ftrading\u002Finfo\u002Fportfolio` and `\u002Ftrading\u002Finfo\u002Freal\u002Fpnl`\n- Ensure your key environment matches the endpoint (Virtual vs Real). Each User Key is associated with a specific environment.\n\n## Use Defaults\n\n- Important: You don't need to specify all parameters. If the user doesn't specify leverage for example, don't send it on the API request.\n\n## Quick Start (Demo Trade)\n\n1. **Resolve `instrumentId`** using search.  \n   `fields` is required on search requests.\n\n```bash\ncurl -X GET \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fmarket-data\u002Fsearch?internalSymbolFull=BTC&fields=instrumentId,internalSymbolFull,displayname\" \\\n  -H \"Authorization: Bearer \u003Caccess_token>\" \\\n  -H \"x-request-id: \u003CUUID>\"\n```\n\n2. **Place a demo market order by amount** (PascalCase body):\n\n```bash\ncurl -X POST \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002Fby-amount\" \\\n  -H \"Authorization: Bearer \u003Caccess_token>\" \\\n  -H \"x-request-id: \u003CUUID>\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"InstrumentID\": 100000,\n    \"IsBuy\": true,\n    \"Leverage\": 1,\n    \"Amount\": 100\n  }'\n```\n\n> **Note:** The examples above use OAuth (Bearer token). For API key auth, replace the `Authorization` header with `x-api-key` and `x-user-key` headers instead.\n\n## Common IDs\n\n- `instrumentId`: from Search or Instruments metadata\n- `positionId`: from Portfolio endpoints\n- `orderId`: from execution responses or Portfolio endpoints\n- `marketId`: used by instrument feed endpoints (typically available in instrument metadata\u002Fsearch fields)\n- `userId`: numeric eToro user ID (often referred to as **CID** in responses; discover via People endpoints\u002Fsearch)\n- `watchlistId`: from watchlists list\u002Fcreate endpoints\n\n## Market Data (Requests)\n\n**Search instruments**\n\n- `GET \u002Fmarket-data\u002Fsearch`\n- Required query: `fields` (comma-separated list of instrument fields to return)\n- Optional: `searchText`, `pageSize`, `pageNumber`, `sort`\n- The Search endpoint supports filtering by fields returned in results; for exact symbol lookup, use `internalSymbolFull` as a query param and verify the exact match.\n- Recommended minimal `fields` when you need IDs: include the instrument identifier (may appear as `instrumentId` or `InstrumentID`), plus `internalSymbolFull` and `displayname` (and `marketId` if you plan to use Feeds).\n\n**Metadata**\n\n- `GET \u002Fmarket-data\u002Finstruments`  \n  Filters: `instrumentIds`, `exchangeIds`, `stocksIndustryIds`, `instrumentTypeIds`.\n\n**Prices & history**\n\n- `GET \u002Fmarket-data\u002Finstruments\u002Frates`  \n  Required: `instrumentIds` (comma-separated).\n- `GET \u002Fmarket-data\u002Finstruments\u002Fhistory\u002Fclosing-price`  \n  Returns historical closing prices for all instruments (bulk).\n- `GET \u002Fmarket-data\u002Finstruments\u002F{instrumentId}\u002Fhistory\u002Fcandles\u002F{direction}\u002F{interval}\u002F{candlesCount}`  \n  `direction`: `asc` or `desc`. `candlesCount` max 1000.  \n  Use only supported `interval` values (confirm via docs if unsure).\n\n**Reference data**\n\n- `GET \u002Fmarket-data\u002Fexchanges` (optional `exchangeIds`)\n- `GET \u002Fmarket-data\u002Finstrument-types`\n- `GET \u002Fmarket-data\u002Fstocks-industries` (optional `stocksIndustryIds`)\n\n## Trading Execution (Requests)\n\n> Requires appropriate permissions (typically **Write**) and the correct environment (Demo vs Real).\n\n### Market Open Orders (by amount)\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002Fby-amount`\n- `POST \u002Ftrading\u002Fexecution\u002Fmarket-open-orders\u002Fby-amount`\n\nBody (PascalCase, JSON):\n\n- **Required:** `InstrumentID`, `IsBuy`, `Leverage`, `Amount`\n- **Optional:** `StopLossRate`, `TakeProfitRate`, `IsTslEnabled`, `IsNoStopLoss`, `IsNoTakeProfit`\n\n### Market Open Orders (by units)\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002Fby-units`\n- `POST \u002Ftrading\u002Fexecution\u002Fmarket-open-orders\u002Fby-units`\n\nBody (PascalCase, JSON):\n\n- **Required:** `InstrumentID`, `IsBuy`, `Leverage`, `AmountInUnits`\n- **Optional:** `StopLossRate`, `TakeProfitRate`, `IsTslEnabled`, `IsNoStopLoss`, `IsNoTakeProfit`\n\n### Cancel Market Open Orders\n\nEndpoints:\n\n- `DELETE \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002F{orderId}`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fmarket-open-orders\u002F{orderId}`\n\n### Market Close Orders\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-close-orders\u002Fpositions\u002F{positionId}`\n- `POST \u002Ftrading\u002Fexecution\u002Fmarket-close-orders\u002Fpositions\u002F{positionId}`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-close-orders\u002F{orderId}`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fmarket-close-orders\u002F{orderId}`\n\nBody (JSON):\n\n- **Required:** `InstrumentId`\n- **Optional:** `UnitsToDeduct` (number or `null`)\n\nPartial close: set `UnitsToDeduct`.  \nFull close: set `UnitsToDeduct` to `null`.  \nYou must close by `positionId`, not by symbol.\n\n### Market-if-touched (Limit) Orders\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Flimit-orders`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fdemo\u002Flimit-orders\u002F{orderId}`\n- `POST \u002Ftrading\u002Fexecution\u002Flimit-orders`\n- `DELETE \u002Ftrading\u002Fexecution\u002Flimit-orders\u002F{orderId}`\n\nBody (PascalCase, JSON):\n\n- **Required:** `InstrumentID`, `IsBuy`, `Leverage`, **`Rate`**, and **one of** `Amount` **or** `AmountInUnits`\n- **Optional:** `StopLossRate`, `TakeProfitRate`, `IsTslEnabled`, `IsNoStopLoss`, `IsNoTakeProfit`\n- **Do not send:** `IsDiscounted`, `CID`\n\n## Trading Info & Portfolio (Requests)\n\n- `GET \u002Ftrading\u002Finfo\u002Fdemo\u002Fpnl`\n- `GET \u002Ftrading\u002Finfo\u002Freal\u002Fpnl`\n- `GET \u002Ftrading\u002Finfo\u002Fdemo\u002Fportfolio`\n- `GET \u002Ftrading\u002Finfo\u002Fportfolio`  \n  Use these to discover `positionId` and `orderId` for close\u002Fcancel flows.\n- `GET \u002Ftrading\u002Finfo\u002Ftrade\u002Fhistory`  \n  Required: `minDate` (YYYY-MM-DD). Optional: `page`, `pageSize`.\n\n## Watchlists (Requests)\n\n**User watchlists**\n\n- `GET \u002Fwatchlists`  \n  Optional: `itemsPerPageForSingle`, `ensureBuiltinWatchlists`, `addRelatedAssets`.\n- `GET \u002Fwatchlists\u002F{watchlistId}`  \n  Optional: `pageNumber`, `itemsPerPage`.\n- `POST \u002Fwatchlists`  \n  Query: `name` (required), `type`, `dynamicQuery` (optional). (Uses query params, not a JSON body.)\n- `PUT \u002Fwatchlists\u002F{watchlistId}`  \n  Query: `newName` (required). (Uses query params, not a JSON body.)\n- `DELETE \u002Fwatchlists\u002F{watchlistId}`\n\n**Watchlist items (body schema)**\n\n`WatchlistItemDto` fields:\n\n- `ItemId` (required, int)\n- `ItemType` (required, string: `Instrument` or `Person`)\n- `ItemRank` (optional, int)\n\nEndpoints:\n\n- `POST \u002Fwatchlists\u002F{watchlistId}\u002Fitems`\n- `PUT \u002Fwatchlists\u002F{watchlistId}\u002Fitems`\n- `DELETE \u002Fwatchlists\u002F{watchlistId}\u002Fitems`\n\nExample body:\n\n```json\n[\n  { \"ItemId\": 12345, \"ItemType\": \"Instrument\", \"ItemRank\": 1 },\n  { \"ItemId\": 67890, \"ItemType\": \"Instrument\", \"ItemRank\": 2 }\n]\n```\n\n**Default watchlists**\n\n- `POST \u002Fwatchlists\u002Fdefault-watchlist\u002Fselected-items`\n- `GET \u002Fwatchlists\u002Fdefault-watchlists\u002Fitems`  \n  Optional: `itemsLimit`, `itemsPerPage`.\n- `POST \u002Fwatchlists\u002Fnewasdefault-watchlist`  \n  Query: `name` (required), `type`, `dynamicQuery` (optional).\n- `PUT \u002Fwatchlists\u002FsetUserSelectedUserDefault\u002F{watchlistId}`\n- `PUT \u002Fwatchlists\u002Frank\u002F{watchlistId}`  \n  Query: `newRank` (required).\n\n**Public watchlists**\n\n- `GET \u002Fwatchlists\u002Fpublic\u002F{userId}`\n- `GET \u002Fwatchlists\u002Fpublic\u002F{userId}\u002F{watchlistId}`\n\n## Feeds (Requests)\n\n**Read feeds**\n\n- `GET \u002Ffeeds\u002Finstrument\u002F{marketId}`  \n  Optional: `requesterUserId`, `take`, `offset`, `badgesExperimentIsEnabled`, `reactionsPageSize`.\n- `GET \u002Ffeeds\u002Fuser\u002F{userId}`  \n  Optional: `requesterUserId`, `take`, `offset`, `badgesExperimentIsEnabled`, `reactionsPageSize`.\n\nNotes:\n\n- `marketId` is associated with an instrument (typically available via instrument metadata\u002Fsearch if you include it in `fields`).\n- `userId` is a numeric user identifier (CID). If you only have a username, discover the numeric ID via People endpoints (see User Info & Analytics).\n\n**Create post**\n\n- `POST \u002Ffeeds\u002Fpost`\n- Body fields (lower camel, JSON):\n  - `owner` (int)\n  - `message` (string)\n  - `tags`: `{ \"tags\": [{ \"name\": \"...\", \"id\": \"...\" }] }`\n  - `mentions`: `{ \"mentions\": [{ \"userName\": \"...\", \"id\": \"...\", \"isD irect\": true }] }`\n  - `attachments`: array of objects with `url`, `title`, `host`, `description`, `mediaType`, and optional `media`.\n\nMinimal example:\n\n```json\n{ \"message\": \"Hello eToro feed!\" }\n```\n\n## Curated Lists & Recommendations (Requests)\n\n- `GET \u002Fcurated-lists`\n- `GET \u002Fmarket-recommendations\u002F{itemsCount}`\n\n## Popular Investors (Copiers)\n\n- `GET \u002Fpi-data\u002Fcopiers`\n\n## User Info & Analytics (Requests)\n\n- `GET \u002Fuser-info\u002Fpeople`  \n  Optional: `usernames`, `cidList`.  \n  Use this to map **username ↔ CID (userId)** when you need numeric `userId` for feeds\u002Fpublic watchlists.\n- `GET \u002Fuser-info\u002Fpeople\u002Fsearch`  \n  Required: `period`. Optional: `page`, `pageSize`, `sort`, `popularInvestor`, `gainMax`, `maxDailyRiskScoreMin`, `maxDailyRiskScoreMax`, `maxMonthlyRiskScoreMin`, `maxMonthlyRiskScoreMax`, `weeksSinceRegistrationMin`, `countryId`, `instrumentId`, `instrumentPctMin`, `instrumentPctMax`, `isTestAccount`, and other filters.\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Fgain`\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Fdaily-gain`  \n  Required: `minDate`, `maxDate`, `type` (`Daily` or `Period`).\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Fportfolio\u002Flive`\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Ftradeinfo`  \n  Required: `period` (e.g., `LastTwoYears`).\n\n## Responses & Schemas\n\nFor response schemas and full examples, refer to:\n\n- https:\u002F\u002Fapi-portal.etoro.com\u002F\n- MCP server: `https:\u002F\u002Fapi-portal.etoro.com\u002Fmcp`\n","# eToro Public API\n\nBase URL: `https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1`\n\n## About\n\nThis skill allows to interact with the user's eToro account programatically, including executing trades.\n\n## Authentication & Required Headers\n\nThe eToro API supports **two** authentication methods. Both use the same base URL and endpoints — only the auth headers differ.\n\n### Method 1 — OAuth SSO (Bearer Token)\n\nIf the user authenticated via **\"Login with eToro\"** (SSO\u002FOAuth), an `access_token` is available from the token exchange.\n\n**Headers (every request):**\n\n- `x-request-id`: unique UUID per request\n- `Authorization`: `Bearer \u003Caccess_token>`\n\nWhere `access_token` comes from:\n\n1. User clicks \"Login with eToro\" → redirects to `https:\u002F\u002Fwww.etoro.com\u002Fsso\u002F` with PKCE challenge.\n2. User authenticates on eToro's side.\n3. eToro redirects back with an authorization `code`.\n4. The code is exchanged for tokens via `POST https:\u002F\u002Fwww.etoro.com\u002Fsso\u002Foidc\u002Ftoken`:\n   - `grant_type=authorization_code`\n   - `code=\u003Cauth_code>`\n   - `redirect_uri=\u003Ccallback_url>`\n   - `code_verifier=\u003Cpkce_verifier>`\n   - Plus `Authorization: Basic \u003Cbase64(client_id:client_secret)>` header\n5. Response contains:\n   - `access_token` — **this is the Bearer token for API calls** (~2130 chars, JWT)\n   - `id_token` — JWT with user identity (`sub` claim = 128-char encoded user ID)\n   - `token_type`: `\"Bearer\"`\n   - `expires_in`: (varies)\n\nExample:\n\n```bash\ncurl -X GET \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fwatchlists\" \\\n  -H \"x-request-id: \u003CUUID>\" \\\n  -H \"Authorization: Bearer \u003Caccess_token>\"\n```\n\n### Method 2 — Manual API Keys\n\nIf the user provides API keys manually (no OAuth), use key-based auth.\n\n**Keys (request from the user on install)**\n\n- **Public API Key**: application\n- **User Key**: user account\n- **Environment**: Real Portfolio or Virtual Portfolio (real\u002Fdemo)\n\n**Key generation (user-facing):**\n\n1. Log in to eToro.\n2. Settings > Trading.\n3. Create New Key.\n4. Choose **Environment** (Real or Virtual\u002FDemo) and **Permissions** (Read or Write).\n5. Verify identity and copy the generated User Key.\n\n**Headers (every request):**\n\n- `x-request-id`: unique UUID per request\n- `x-api-key`: Public API Key (`\u003CPUBLIC_KEY>`)\n- `x-user-key`: User Key (`\u003CUSER_KEY>`)\n\nExample:\n\n```bash\ncurl -X GET \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fwatchlists\" \\\n  -H \"x-request-id: \u003CUUID>\" \\\n  -H \"x-api-key: \u003CPUBLIC_KEY>\" \\\n  -H \"x-user-key: \u003CUSER_KEY>\"\n```\n\n### Choosing the Auth Method in Code\n\nWhen making requests, check which credentials are available:\n\n```typescript\nif (ctx.accessToken) {\n  \u002F\u002F SSO auth — Bearer token from OAuth token exchange\n  headers[\"Authorization\"] = `Bearer ${ctx.accessToken}`;\n} else {\n  \u002F\u002F Manual API key auth\n  headers[\"x-api-key\"] = ctx.apiKey;\n  headers[\"x-user-key\"] = ctx.userKey;\n}\n```\n\n## Request Conventions\n\n- **All paths below are relative to the Base URL** (which already includes `\u002Fapi\u002Fv1`).  \n  Example: `GET \u002Fwatchlists` means `GET https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fwatchlists`.\n- Query params go in the URL, path params go in the URL path.\n- For query params that are documented as `array`, send them as **comma-separated values** (e.g., `instrumentIds=1001,1002`).\n- Pagination patterns vary by endpoint:\n  - Search: `pageNumber`, `pageSize`\n  - People search & trade history: `page`, `pageSize`\n  - Feeds: `take`, `offset`\n  - Watchlist items listing: `pageNumber`, `itemsPerPage`\n- **Casing matters** for request bodies:\n  - Trading execution uses **PascalCase** fields (e.g., `InstrumentID`, `IsBuy`, `Leverage`).\n  - Market close body uses `InstrumentId` (capital I, lowercase d).\n  - Watchlist items use `ItemId`, `ItemType`, `ItemRank`.\n  - Feeds post body uses lower camel (`owner`, `message`, `tags`, `mentions`, `attachments`).\n- Some responses may use different casing for similar concepts (e.g., `instrumentId` vs `InstrumentID`). When extracting IDs, handle both if present.\n\n## Demo vs Real Trading\n\n- Use **demo execution endpoints** (contain `\u002Fdemo\u002F`) for testing and paper trading.\n- Use **non-demo execution endpoints** for real trading.\n- For portfolio\u002FPnL:\n  - Demo: `\u002Ftrading\u002Finfo\u002Fdemo\u002F*`\n  - Real: `\u002Ftrading\u002Finfo\u002Fportfolio` and `\u002Ftrading\u002Finfo\u002Freal\u002Fpnl`\n- Ensure your key environment matches the endpoint (Virtual vs Real). Each User Key is associated with a specific environment.\n\n## Use Defaults\n\n- Important: You don't need to specify all parameters. If the user doesn't specify leverage for example, don't send it on the API request.\n\n## Quick Start (Demo Trade)\n\n1. **Resolve `instrumentId`** using search.  \n   `fields` is required on search requests.\n\n```bash\ncurl -X GET \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Fmarket-data\u002Fsearch?internalSymbolFull=BTC&fields=instrumentId,internalSymbolFull,displayname\" \\\n  -H \"Authorization: Bearer \u003Caccess_token>\" \\\n  -H \"x-request-id: \u003CUUID>\"\n```\n\n2. **Place a demo market order by amount** (PascalCase body):\n\n```bash\ncurl -X POST \"https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1\u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002Fby-amount\" \\\n  -H \"Authorization: Bearer \u003Caccess_token>\" \\\n  -H \"x-request-id: \u003CUUID>\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"InstrumentID\": 100000,\n    \"IsBuy\": true,\n    \"Leverage\": 1,\n    \"Amount\": 100\n  }'\n```\n\n> **Note:** The examples above use OAuth (Bearer token). For API key auth, replace the `Authorization` header with `x-api-key` and `x-user-key` headers instead.\n\n## Common IDs\n\n- `instrumentId`: from Search or Instruments metadata\n- `positionId`: from Portfolio endpoints\n- `orderId`: from execution responses or Portfolio endpoints\n- `marketId`: used by instrument feed endpoints (typically available in instrument metadata\u002Fsearch fields)\n- `userId`: numeric eToro user ID (often referred to as **CID** in responses; discover via People endpoints\u002Fsearch)\n- `watchlistId`: from watchlists list\u002Fcreate endpoints\n\n## Market Data (Requests)\n\n**Search instruments**\n\n- `GET \u002Fmarket-data\u002Fsearch`\n- Required query: `fields` (comma-separated list of instrument fields to return)\n- Optional: `searchText`, `pageSize`, `pageNumber`, `sort`\n- The Search endpoint supports filtering by fields returned in results; for exact symbol lookup, use `internalSymbolFull` as a query param and verify the exact match.\n- Recommended minimal `fields` when you need IDs: include the instrument identifier (may appear as `instrumentId` or `InstrumentID`), plus `internalSymbolFull` and `displayname` (and `marketId` if you plan to use Feeds).\n\n**Metadata**\n\n- `GET \u002Fmarket-data\u002Finstruments`  \n  Filters: `instrumentIds`, `exchangeIds`, `stocksIndustryIds`, `instrumentTypeIds`.\n\n**Prices & history**\n\n- `GET \u002Fmarket-data\u002Finstruments\u002Frates`  \n  Required: `instrumentIds` (comma-separated).\n- `GET \u002Fmarket-data\u002Finstruments\u002Fhistory\u002Fclosing-price`  \n  Returns historical closing prices for all instruments (bulk).\n- `GET \u002Fmarket-data\u002Finstruments\u002F{instrumentId}\u002Fhistory\u002Fcandles\u002F{direction}\u002F{interval}\u002F{candlesCount}`  \n  `direction`: `asc` or `desc`. `candlesCount` max 1000.  \n  Use only supported `interval` values (confirm via docs if unsure).\n\n**Reference data**\n\n- `GET \u002Fmarket-data\u002Fexchanges` (optional `exchangeIds`)\n- `GET \u002Fmarket-data\u002Finstrument-types`\n- `GET \u002Fmarket-data\u002Fstocks-industries` (optional `stocksIndustryIds`)\n\n## Trading Execution (Requests)\n\n> Requires appropriate permissions (typically **Write**) and the correct environment (Demo vs Real).\n\n### Market Open Orders (by amount)\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002Fby-amount`\n- `POST \u002Ftrading\u002Fexecution\u002Fmarket-open-orders\u002Fby-amount`\n\nBody (PascalCase, JSON):\n\n- **Required:** `InstrumentID`, `IsBuy`, `Leverage`, `Amount`\n- **Optional:** `StopLossRate`, `TakeProfitRate`, `IsTslEnabled`, `IsNoStopLoss`, `IsNoTakeProfit`\n\n### Market Open Orders (by units)\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002Fby-units`\n- `POST \u002Ftrading\u002Fexecution\u002Fmarket-open-orders\u002Fby-units`\n\nBody (PascalCase, JSON):\n\n- **Required:** `InstrumentID`, `IsBuy`, `Leverage`, `AmountInUnits`\n- **Optional:** `StopLossRate`, `TakeProfitRate`, `IsTslEnabled`, `IsNoStopLoss`, `IsNoTakeProfit`\n\n### Cancel Market Open Orders\n\nEndpoints:\n\n- `DELETE \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-open-orders\u002F{orderId}`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fmarket-open-orders\u002F{orderId}`\n\n### Market Close Orders\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-close-orders\u002Fpositions\u002F{positionId}`\n- `POST \u002Ftrading\u002Fexecution\u002Fmarket-close-orders\u002Fpositions\u002F{positionId}`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fdemo\u002Fmarket-close-orders\u002F{orderId}`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fmarket-close-orders\u002F{orderId}`\n\nBody (JSON):\n\n- **Required:** `InstrumentId`\n- **Optional:** `UnitsToDeduct` (number or `null`)\n\nPartial close: set `UnitsToDeduct`.  \nFull close: set `UnitsToDeduct` to `null`.  \nYou must close by `positionId`, not by symbol.\n\n### Market-if-touched (Limit) Orders\n\nEndpoints:\n\n- `POST \u002Ftrading\u002Fexecution\u002Fdemo\u002Flimit-orders`\n- `DELETE \u002Ftrading\u002Fexecution\u002Fdemo\u002Flimit-orders\u002F{orderId}`\n- `POST \u002Ftrading\u002Fexecution\u002Flimit-orders`\n- `DELETE \u002Ftrading\u002Fexecution\u002Flimit-orders\u002F{orderId}`\n\nBody (PascalCase, JSON):\n\n- **Required:** `InstrumentID`, `IsBuy`, `Leverage`, **`Rate`**, and **one of** `Amount` **or** `AmountInUnits`\n- **Optional:** `StopLossRate`, `TakeProfitRate`, `IsTslEnabled`, `IsNoStopLoss`, `IsNoTakeProfit`\n- **Do not send:** `IsDiscounted`, `CID`\n\n## Trading Info & Portfolio (Requests)\n\n- `GET \u002Ftrading\u002Finfo\u002Fdemo\u002Fpnl`\n- `GET \u002Ftrading\u002Finfo\u002Freal\u002Fpnl`\n- `GET \u002Ftrading\u002Finfo\u002Fdemo\u002Fportfolio`\n- `GET \u002Ftrading\u002Finfo\u002Fportfolio`  \n  Use these to discover `positionId` and `orderId` for close\u002Fcancel flows.\n- `GET \u002Ftrading\u002Finfo\u002Ftrade\u002Fhistory`  \n  Required: `minDate` (YYYY-MM-DD). Optional: `page`, `pageSize`.\n\n## Watchlists (Requests)\n\n**User watchlists**\n\n- `GET \u002Fwatchlists`  \n  Optional: `itemsPerPageForSingle`, `ensureBuiltinWatchlists`, `addRelatedAssets`.\n- `GET \u002Fwatchlists\u002F{watchlistId}`  \n  Optional: `pageNumber`, `itemsPerPage`.\n- `POST \u002Fwatchlists`  \n  Query: `name` (required), `type`, `dynamicQuery` (optional). (Uses query params, not a JSON body.)\n- `PUT \u002Fwatchlists\u002F{watchlistId}`  \n  Query: `newName` (required). (Uses query params, not a JSON body.)\n- `DELETE \u002Fwatchlists\u002F{watchlistId}`\n\n**Watchlist items (body schema)**\n\n`WatchlistItemDto` fields:\n\n- `ItemId` (required, int)\n- `ItemType` (required, string: `Instrument` or `Person`)\n- `ItemRank` (optional, int)\n\nEndpoints:\n\n- `POST \u002Fwatchlists\u002F{watchlistId}\u002Fitems`\n- `PUT \u002Fwatchlists\u002F{watchlistId}\u002Fitems`\n- `DELETE \u002Fwatchlists\u002F{watchlistId}\u002Fitems`\n\nExample body:\n\n```json\n[\n  { \"ItemId\": 12345, \"ItemType\": \"Instrument\", \"ItemRank\": 1 },\n  { \"ItemId\": 67890, \"ItemType\": \"Instrument\", \"ItemRank\": 2 }\n]\n```\n\n**Default watchlists**\n\n- `POST \u002Fwatchlists\u002Fdefault-watchlist\u002Fselected-items`\n- `GET \u002Fwatchlists\u002Fdefault-watchlists\u002Fitems`  \n  Optional: `itemsLimit`, `itemsPerPage`.\n- `POST \u002Fwatchlists\u002Fnewasdefault-watchlist`  \n  Query: `name` (required), `type`, `dynamicQuery` (optional).\n- `PUT \u002Fwatchlists\u002FsetUserSelectedUserDefault\u002F{watchlistId}`\n- `PUT \u002Fwatchlists\u002Frank\u002F{watchlistId}`  \n  Query: `newRank` (required).\n\n**Public watchlists**\n\n- `GET \u002Fwatchlists\u002Fpublic\u002F{userId}`\n- `GET \u002Fwatchlists\u002Fpublic\u002F{userId}\u002F{watchlistId}`\n\n## Feeds (Requests)\n\n**Read feeds**\n\n- `GET \u002Ffeeds\u002Finstrument\u002F{marketId}`  \n  Optional: `requesterUserId`, `take`, `offset`, `badgesExperimentIsEnabled`, `reactionsPageSize`.\n- `GET \u002Ffeeds\u002Fuser\u002F{userId}`  \n  Optional: `requesterUserId`, `take`, `offset`, `badgesExperimentIsEnabled`, `reactionsPageSize`.\n\nNotes:\n\n- `marketId` is associated with an instrument (typically available via instrument metadata\u002Fsearch if you include it in `fields`).\n- `userId` is a numeric user identifier (CID). If you only have a username, discover the numeric ID via People endpoints (see User Info & Analytics).\n\n**Create post**\n\n- `POST \u002Ffeeds\u002Fpost`\n- Body fields (lower camel, JSON):\n  - `owner` (int)\n  - `message` (string)\n  - `tags`: `{ \"tags\": [{ \"name\": \"...\", \"id\": \"...\" }] }`\n  - `mentions`: `{ \"mentions\": [{ \"userName\": \"...\", \"id\": \"...\", \"isD irect\": true }] }`\n  - `attachments`: array of objects with `url`, `title`, `host`, `description`, `mediaType`, and optional `media`.\n\nMinimal example:\n\n```json\n{ \"message\": \"Hello eToro feed!\" }\n```\n\n## Curated Lists & Recommendations (Requests)\n\n- `GET \u002Fcurated-lists`\n- `GET \u002Fmarket-recommendations\u002F{itemsCount}`\n\n## Popular Investors (Copiers)\n\n- `GET \u002Fpi-data\u002Fcopiers`\n\n## User Info & Analytics (Requests)\n\n- `GET \u002Fuser-info\u002Fpeople`  \n  Optional: `usernames`, `cidList`.  \n  Use this to map **username ↔ CID (userId)** when you need numeric `userId` for feeds\u002Fpublic watchlists.\n- `GET \u002Fuser-info\u002Fpeople\u002Fsearch`  \n  Required: `period`. Optional: `page`, `pageSize`, `sort`, `popularInvestor`, `gainMax`, `maxDailyRiskScoreMin`, `maxDailyRiskScoreMax`, `maxMonthlyRiskScoreMin`, `maxMonthlyRiskScoreMax`, `weeksSinceRegistrationMin`, `countryId`, `instrumentId`, `instrumentPctMin`, `instrumentPctMax`, `isTestAccount`, and other filters.\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Fgain`\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Fdaily-gain`  \n  Required: `minDate`, `maxDate`, `type` (`Daily` or `Period`).\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Fportfolio\u002Flive`\n- `GET \u002Fuser-info\u002Fpeople\u002F{username}\u002Ftradeinfo`  \n  Required: `period` (e.g., `LastTwoYears`).\n\n## Responses & Schemas\n\nFor response schemas and full examples, refer to:\n\n- https:\u002F\u002Fapi-portal.etoro.com\u002F\n- MCP server: `https:\u002F\u002Fapi-portal.etoro.com\u002Fmcp`\n",{"name":5,"version":24,"homepage":25,"metadata":26,"description":7},"1.0.0","https:\u002F\u002Fapi-portal.etoro.com\u002F",{"openclaw":27},{"emoji":28,"api_base":29,"category":30},"📈","https:\u002F\u002Fpublic-api.etoro.com\u002Fapi\u002Fv1","finance","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fmarian2js\u002Fetoro-apps",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill etoro-apps",{"tool":46,"command":47},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill etoro-apps",{"tool":49,"command":50},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill etoro-apps","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmarian2js\u002Fetoro-apps\u002FSKILL.md",true,[],[55,63,70,77,84,91],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":62},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":62},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":62},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":62},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":62},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]