@apteva/integrations 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apps/activecampaign.json +209 -0
- package/src/apps/activecollab.json +417 -0
- package/src/apps/airtable.json +235 -0
- package/src/apps/alpaca-trading.json +1554 -0
- package/src/apps/amadeus.json +225 -0
- package/src/apps/anthropic-api.json +96 -0
- package/src/apps/apify.json +203 -0
- package/src/apps/apollo.json +748 -0
- package/src/apps/apple-podcasts.json +116 -0
- package/src/apps/archive-api.json +104 -0
- package/src/apps/archive.json +151 -0
- package/src/apps/arduino-cloud.json +301 -0
- package/src/apps/arest.json +492 -0
- package/src/apps/asana.json +184 -0
- package/src/apps/ashby.json +176 -0
- package/src/apps/assemblyai.json +163 -0
- package/src/apps/attio.json +243 -0
- package/src/apps/aws-cloudfront.json +132 -0
- package/src/apps/aws-dynamodb.json +295 -0
- package/src/apps/aws-ec2.json +184 -0
- package/src/apps/aws-lambda.json +361 -0
- package/src/apps/aws-route53.json +110 -0
- package/src/apps/aws-s3.json +303 -0
- package/src/apps/aws-ses.json +556 -0
- package/src/apps/aws-sns.json +217 -0
- package/src/apps/aws-sqs.json +234 -0
- package/src/apps/axiom.json +123 -0
- package/src/apps/beehiiv.json +252 -0
- package/src/apps/binance-trading.json +555 -0
- package/src/apps/bitly.json +175 -0
- package/src/apps/bloobirds.json +246 -0
- package/src/apps/bluesky.json +201 -0
- package/src/apps/blynk.json +316 -0
- package/src/apps/booking-com.json +144 -0
- package/src/apps/box.json +289 -0
- package/src/apps/brevo.json +1423 -0
- package/src/apps/browse-ai.json +148 -0
- package/src/apps/bunny-cdn.json +330 -0
- package/src/apps/bunny-stream.json +387 -0
- package/src/apps/cal-com.json +240 -0
- package/src/apps/calendly.json +578 -0
- package/src/apps/calflow-calendar.json +706 -0
- package/src/apps/callrail.json +190 -0
- package/src/apps/canva.json +197 -0
- package/src/apps/cartesia.json +201 -0
- package/src/apps/castbase.json +753 -0
- package/src/apps/chargebee.json +226 -0
- package/src/apps/cleanster.json +359 -0
- package/src/apps/clicksend.json +278 -0
- package/src/apps/clickup.json +266 -0
- package/src/apps/clipkit.json +517 -0
- package/src/apps/close.json +359 -0
- package/src/apps/cloudflare.json +329 -0
- package/src/apps/cloudinary.json +164 -0
- package/src/apps/coda.json +288 -0
- package/src/apps/cohere.json +158 -0
- package/src/apps/coinbase.json +268 -0
- package/src/apps/composio.json +146 -0
- package/src/apps/confluence.json +270 -0
- package/src/apps/consensus.json +879 -0
- package/src/apps/contabo.json +733 -0
- package/src/apps/convertkit.json +211 -0
- package/src/apps/core-image.json +426 -0
- package/src/apps/core-video.json +1246 -0
- package/src/apps/craftcloud.json +298 -0
- package/src/apps/datadog.json +401 -0
- package/src/apps/dataforseo.json +1273 -0
- package/src/apps/deepseek.json +150 -0
- package/src/apps/dialpad.json +229 -0
- package/src/apps/discord.json +239 -0
- package/src/apps/dnsimple.json +405 -0
- package/src/apps/docusign.json +214 -0
- package/src/apps/docx.json +282 -0
- package/src/apps/dropbox.json +185 -0
- package/src/apps/duffel.json +231 -0
- package/src/apps/dux-soup.json +694 -0
- package/src/apps/dynadot.json +250 -0
- package/src/apps/elevenlabs.json +327 -0
- package/src/apps/eventbrite-events.json +598 -0
- package/src/apps/facebook-ads.json +1399 -0
- package/src/apps/facebook-api.json +282 -0
- package/src/apps/fal-ai.json +400 -0
- package/src/apps/fathom.json +86 -0
- package/src/apps/figma.json +162 -0
- package/src/apps/filestack.json +159 -0
- package/src/apps/firebase.json +271 -0
- package/src/apps/firecrawl.json +278 -0
- package/src/apps/folk.json +564 -0
- package/src/apps/forecast-app.json +377 -0
- package/src/apps/freshdesk.json +283 -0
- package/src/apps/gemini.json +528 -0
- package/src/apps/ghost.json +439 -0
- package/src/apps/gigs-marketplace.json +1442 -0
- package/src/apps/github.json +1480 -48
- package/src/apps/gitlab.json +448 -0
- package/src/apps/gmail.json +839 -28
- package/src/apps/gohighlevel.json +596 -0
- package/src/apps/google-ads.json +270 -0
- package/src/apps/google-calendar.json +996 -36
- package/src/apps/google-docs.json +278 -0
- package/src/apps/google-drive.json +360 -0
- package/src/apps/google-maps.json +473 -0
- package/src/apps/google-sheets.json +330 -0
- package/src/apps/gooten.json +411 -0
- package/src/apps/gravity-forms.json +385 -0
- package/src/apps/gusto.json +171 -0
- package/src/apps/hackernews.json +221 -0
- package/src/apps/harmonic.json +86 -0
- package/src/apps/helpscout.json +664 -0
- package/src/apps/hetzner.json +658 -0
- package/src/apps/heygen.json +184 -0
- package/src/apps/heyreach.json +388 -0
- package/src/apps/hospitable.json +340 -0
- package/src/apps/hostinger.json +374 -0
- package/src/apps/hubspot.json +682 -0
- package/src/apps/huggingface.json +97 -0
- package/src/apps/hunter.json +504 -0
- package/src/apps/ig-trading.json +849 -0
- package/src/apps/imaterialise.json +349 -0
- package/src/apps/instagram-api.json +538 -0
- package/src/apps/intercom.json +648 -0
- package/src/apps/jira.json +226 -0
- package/src/apps/klaviyo.json +199 -0
- package/src/apps/kling-ai.json +206 -0
- package/src/apps/kraken.json +870 -0
- package/src/apps/late.json +1056 -0
- package/src/apps/leadpages.json +243 -0
- package/src/apps/learning-platform.json +2244 -0
- package/src/apps/linear.json +184 -57
- package/src/apps/linkedin.json +179 -0
- package/src/apps/listen-notes.json +136 -0
- package/src/apps/lnk-bio.json +125 -0
- package/src/apps/loom.json +188 -0
- package/src/apps/luma.json +280 -0
- package/src/apps/mailchimp.json +238 -0
- package/src/apps/mailgun.json +310 -0
- package/src/apps/manychat.json +312 -0
- package/src/apps/marin-software.json +843 -0
- package/src/apps/media-downloader.json +157 -0
- package/src/apps/meetup-events.json +361 -0
- package/src/apps/meshy.json +248 -0
- package/src/apps/microsoft-teams.json +162 -0
- package/src/apps/monday.json +213 -0
- package/src/apps/mongodb-atlas.json +467 -0
- package/src/apps/namecheap.json +252 -0
- package/src/apps/nexar.json +289 -0
- package/src/apps/notion.json +530 -50
- package/src/apps/omnikit-analytics.json +374 -0
- package/src/apps/omnikit-api-gateway.json +660 -0
- package/src/apps/omnikit-billing.json +1781 -0
- package/src/apps/omnikit-cms.json +899 -0
- package/src/apps/omnikit-functions.json +329 -0
- package/src/apps/omnikit-intelligence.json +650 -0
- package/src/apps/omnikit-management.json +214 -0
- package/src/apps/omnikit-media.json +646 -0
- package/src/apps/omnikit-messaging.json +1826 -0
- package/src/apps/omnikit-redirects.json +209 -0
- package/src/apps/omnikit-storage.json +1 -1
- package/src/apps/omnikit-webhooks.json +269 -0
- package/src/apps/omnikit-workflows.json +323 -0
- package/src/apps/openai-api.json +462 -0
- package/src/apps/openmeteo-weather.json +75 -0
- package/src/apps/optinmonster.json +244 -0
- package/src/apps/paidkit.json +1218 -0
- package/src/apps/paypal.json +254 -0
- package/src/apps/pdf.json +366 -0
- package/src/apps/pipedrive.json +255 -0
- package/src/apps/polymarket.json +653 -0
- package/src/apps/porkbun.json +417 -0
- package/src/apps/portfolio.json +501 -0
- package/src/apps/postmark.json +257 -0
- package/src/apps/printful.json +273 -0
- package/src/apps/printify.json +295 -0
- package/src/apps/producthunt.json +346 -0
- package/src/apps/pushover-notifications.json +113 -0
- package/src/apps/qonto.json +366 -0
- package/src/apps/quickbooks.json +234 -0
- package/src/apps/replicate.json +106 -0
- package/src/apps/rss.json +281 -0
- package/src/apps/salesflow.json +538 -0
- package/src/apps/salesforce-crm.json +216 -0
- package/src/apps/sap.json +256 -0
- package/src/apps/scaleway.json +911 -0
- package/src/apps/sculpteo.json +234 -0
- package/src/apps/sendgrid-email.json +233 -0
- package/src/apps/sendgrid.json +160 -35
- package/src/apps/shapeways.json +188 -0
- package/src/apps/shopify.json +1217 -0
- package/src/apps/skai.json +779 -0
- package/src/apps/slack.json +227 -37
- package/src/apps/slant3d.json +231 -0
- package/src/apps/slides.json +760 -0
- package/src/apps/smartly.json +504 -0
- package/src/apps/snov.json +467 -0
- package/src/apps/socialcast.json +554 -64
- package/src/apps/square.json +274 -0
- package/src/apps/storage-management.json +788 -0
- package/src/apps/storylane.json +180 -0
- package/src/apps/strapi.json +338 -0
- package/src/apps/stripe-payments.json +847 -0
- package/src/apps/stripe.json +472 -35
- package/src/apps/supabase.json +169 -0
- package/src/apps/supademo.json +115 -0
- package/src/apps/taskflow.json +714 -0
- package/src/apps/teamwork.json +457 -0
- package/src/apps/telegram.json +444 -0
- package/src/apps/thinger.json +458 -0
- package/src/apps/ticktick.json +169 -0
- package/src/apps/tiktok-api.json +406 -0
- package/src/apps/todoist.json +151 -0
- package/src/apps/together.json +123 -0
- package/src/apps/torrent.json +267 -0
- package/src/apps/trading.json +1012 -0
- package/src/apps/trading212.json +383 -0
- package/src/apps/trello.json +205 -0
- package/src/apps/tripo.json +157 -0
- package/src/apps/twilio.json +1008 -0
- package/src/apps/twitter-ads.json +875 -0
- package/src/apps/twitter-api.json +1151 -0
- package/src/apps/twitterapiio.json +548 -0
- package/src/apps/typeform.json +210 -0
- package/src/apps/vidforge.json +1020 -0
- package/src/apps/vonage.json +394 -0
- package/src/apps/vultr.json +225 -0
- package/src/apps/webflow.json +223 -0
- package/src/apps/wise.json +273 -0
- package/src/apps/wistia.json +283 -0
- package/src/apps/woocommerce.json +288 -0
- package/src/apps/wordpress.json +1675 -0
- package/src/apps/xero.json +257 -0
- package/src/apps/youtube-api.json +861 -0
- package/src/apps/zendesk.json +295 -0
- package/src/apps/zite.json +173 -0
- package/src/apps/zoho-crm.json +386 -0
- package/src/apps/zoo.json +193 -0
- package/src/apps/zoom.json +334 -0
|
@@ -0,0 +1,1554 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "alpaca-trading",
|
|
3
|
+
"name": "Alpaca",
|
|
4
|
+
"description": "MCP server for Alpaca — stock, options & crypto trading, real-time and historical market data, portfolio management, screener, news, and forex rates via the Alpaca REST API v2. Uses paper trading by default.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=alpaca.markets&sz=128",
|
|
6
|
+
"categories": [
|
|
7
|
+
"trading",
|
|
8
|
+
"stocks",
|
|
9
|
+
"crypto",
|
|
10
|
+
"options",
|
|
11
|
+
"market-data",
|
|
12
|
+
"portfolio",
|
|
13
|
+
"orders",
|
|
14
|
+
"news",
|
|
15
|
+
"screener",
|
|
16
|
+
"forex",
|
|
17
|
+
"alpaca"
|
|
18
|
+
],
|
|
19
|
+
"base_url": "",
|
|
20
|
+
"auth": {
|
|
21
|
+
"types": [
|
|
22
|
+
"bearer"
|
|
23
|
+
],
|
|
24
|
+
"headers": {
|
|
25
|
+
"Authorization": "Bearer {{token}}"
|
|
26
|
+
},
|
|
27
|
+
"credential_fields": [
|
|
28
|
+
{
|
|
29
|
+
"name": "token",
|
|
30
|
+
"label": "API Key"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"tools": [
|
|
35
|
+
{
|
|
36
|
+
"name": "get_account",
|
|
37
|
+
"description": "Get account details: equity, buying_power, cash, portfolio_value, pattern_day_trader status, account_number, and trading restrictions. No parameters needed.",
|
|
38
|
+
"method": "GET",
|
|
39
|
+
"path": "/get-account",
|
|
40
|
+
"input_schema": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "get_account_config",
|
|
47
|
+
"description": "Get account configuration settings: DTBP check, trade confirm email, fractional trading, max margin multiplier, PDT check, and suspend trade flag.",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"path": "/get-account-config",
|
|
50
|
+
"input_schema": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "update_account_config",
|
|
57
|
+
"description": "Update account configuration. You can change trade confirmation emails, DTBP checking, fractional trading, margin multiplier, and PDT checks.",
|
|
58
|
+
"method": "PATCH",
|
|
59
|
+
"path": "/update-account-config",
|
|
60
|
+
"input_schema": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"dtbp_check": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "Day trading buying power check: both, entry, exit",
|
|
66
|
+
"enum": [
|
|
67
|
+
"both",
|
|
68
|
+
"entry",
|
|
69
|
+
"exit"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"trade_confirm_email": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Trade confirmation email setting: all, none",
|
|
75
|
+
"enum": [
|
|
76
|
+
"all",
|
|
77
|
+
"none"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"fractional_trading": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Enable or disable fractional trading"
|
|
83
|
+
},
|
|
84
|
+
"max_margin_multiplier": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "Max margin multiplier (1 for no margin, 2 for 2x, 4 for 4x)"
|
|
87
|
+
},
|
|
88
|
+
"pdt_check": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "PDT check: entry, exit",
|
|
91
|
+
"enum": [
|
|
92
|
+
"entry",
|
|
93
|
+
"exit"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"suspend_trade": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "Suspend trading (freeze account)"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "get_portfolio_history",
|
|
105
|
+
"description": "Get historical portfolio equity, P&L, and base values over time. Returns arrays of {timestamp, equity, profit_loss, profit_loss_pct, base_value}. Great for charting account performance.",
|
|
106
|
+
"method": "GET",
|
|
107
|
+
"path": "/get-portfolio-history",
|
|
108
|
+
"input_schema": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": {
|
|
111
|
+
"period": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "Time period: 1D, 1W, 1M, 3M, 6M, 1A (1 year), all, or custom like 5D, 2W"
|
|
114
|
+
},
|
|
115
|
+
"timeframe": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "Resolution: 1Min, 5Min, 15Min, 1H, 1D"
|
|
118
|
+
},
|
|
119
|
+
"intraday_reporting": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "Intraday reporting type: market_hours, extended_hours, continuous"
|
|
122
|
+
},
|
|
123
|
+
"start": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Start date (RFC3339 or YYYY-MM-DD)"
|
|
126
|
+
},
|
|
127
|
+
"end": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"description": "End date (RFC3339 or YYYY-MM-DD)"
|
|
130
|
+
},
|
|
131
|
+
"pnl_reset": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "P&L reset frequency: per_day, no_reset"
|
|
134
|
+
},
|
|
135
|
+
"extended_hours": {
|
|
136
|
+
"type": "boolean",
|
|
137
|
+
"description": "Include extended hours data"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "get_activities",
|
|
144
|
+
"description": "Retrieve account activities: fills, dividends, interest, deposits, withdrawals, fees, and more. Filter by activity type and date range.",
|
|
145
|
+
"method": "GET",
|
|
146
|
+
"path": "/get-activities",
|
|
147
|
+
"input_schema": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"properties": {
|
|
150
|
+
"activity_type": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"description": "Filter by type: FILL, TRANS, MISC, ACATC, ACATS, CSD, CSW, DIV, JNLC, JNLS, MA, NC, OPASN, OPEXP, OPXRC, PTC, PTR, REORG, SC, SSO, SSP, CFEE, FEE, INT"
|
|
153
|
+
},
|
|
154
|
+
"date": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"description": "Exact date (YYYY-MM-DD)"
|
|
157
|
+
},
|
|
158
|
+
"after": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"description": "Return activities after this date (RFC3339)"
|
|
161
|
+
},
|
|
162
|
+
"until": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"description": "Return activities until this date (RFC3339)"
|
|
165
|
+
},
|
|
166
|
+
"direction": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"description": "Sort direction: asc, desc",
|
|
169
|
+
"enum": [
|
|
170
|
+
"asc",
|
|
171
|
+
"desc"
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"page_size": {
|
|
175
|
+
"type": "integer",
|
|
176
|
+
"description": "Number of results per page (max 100)"
|
|
177
|
+
},
|
|
178
|
+
"page_token": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"description": "Pagination token from previous response"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "list_orders",
|
|
187
|
+
"description": "Get all orders or filter by status, symbols, date range. Returns order ID, symbol, side, type, qty, filled_qty, filled_avg_price, status, timestamps. All filter values MUST be lowercase.",
|
|
188
|
+
"method": "GET",
|
|
189
|
+
"path": "/list-orders",
|
|
190
|
+
"input_schema": {
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"status": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"description": "MUST be lowercase: 'open' (pending/new), 'closed' (filled/cancelled/expired), 'all'",
|
|
196
|
+
"enum": [
|
|
197
|
+
"open",
|
|
198
|
+
"closed",
|
|
199
|
+
"all"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"limit": {
|
|
203
|
+
"type": "integer",
|
|
204
|
+
"description": "Max results to return (default 50, max 500)"
|
|
205
|
+
},
|
|
206
|
+
"after": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"description": "Only orders created after this timestamp (RFC3339, e.g. '2024-01-15T00:00:00Z')"
|
|
209
|
+
},
|
|
210
|
+
"until": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"description": "Only orders created before this timestamp (RFC3339)"
|
|
213
|
+
},
|
|
214
|
+
"direction": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"description": "MUST be lowercase: 'asc' (oldest first) or 'desc' (newest first)",
|
|
217
|
+
"enum": [
|
|
218
|
+
"asc",
|
|
219
|
+
"desc"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
"nested": {
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"description": "If true, include child orders for bracket/OCO/OTO orders"
|
|
225
|
+
},
|
|
226
|
+
"symbols": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"description": "Comma-separated symbols to filter (e.g. 'AAPL,TSLA,JNJ')"
|
|
229
|
+
},
|
|
230
|
+
"side": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "MUST be lowercase: 'buy' or 'sell'",
|
|
233
|
+
"enum": [
|
|
234
|
+
"buy",
|
|
235
|
+
"sell"
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "create_order",
|
|
243
|
+
"description": "Place a new order. IMPORTANT: All enum values MUST be lowercase. Example: symbol='AAPL', side='buy', type='market', time_in_force='day'. To buy $20k worth of a stock use notional='20000' instead of qty. Returns order ID, status, filled_qty, filled_avg_price.",
|
|
244
|
+
"method": "POST",
|
|
245
|
+
"path": "/create-order",
|
|
246
|
+
"input_schema": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"properties": {
|
|
249
|
+
"symbol": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "Ticker symbol in UPPERCASE (e.g. AAPL, TSLA, JNJ, BTC/USD)"
|
|
252
|
+
},
|
|
253
|
+
"qty": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "Number of shares as a string (e.g. '10', '0.5'). Use qty OR notional, not both."
|
|
256
|
+
},
|
|
257
|
+
"notional": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"description": "Dollar amount as a string (e.g. '20000' for $20k). Use for buying a dollar amount of shares. Use qty OR notional, not both."
|
|
260
|
+
},
|
|
261
|
+
"side": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"description": "MUST be lowercase: 'buy' or 'sell'",
|
|
264
|
+
"enum": [
|
|
265
|
+
"buy",
|
|
266
|
+
"sell"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
"type": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"description": "MUST be lowercase: 'market', 'limit', 'stop', 'stop_limit', or 'trailing_stop'",
|
|
272
|
+
"enum": [
|
|
273
|
+
"market",
|
|
274
|
+
"limit",
|
|
275
|
+
"stop",
|
|
276
|
+
"stop_limit",
|
|
277
|
+
"trailing_stop"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"time_in_force": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"description": "MUST be lowercase: 'day' (cancel at close), 'gtc' (good till cancelled), 'opg' (market open), 'cls' (market close), 'ioc' (immediate or cancel), 'fok' (fill or kill). Use 'day' for most orders.",
|
|
283
|
+
"enum": [
|
|
284
|
+
"day",
|
|
285
|
+
"gtc",
|
|
286
|
+
"opg",
|
|
287
|
+
"cls",
|
|
288
|
+
"ioc",
|
|
289
|
+
"fok"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
"limit_price": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"description": "Required for type='limit' and 'stop_limit'. Price as string (e.g. '150.50')"
|
|
295
|
+
},
|
|
296
|
+
"stop_price": {
|
|
297
|
+
"type": "string",
|
|
298
|
+
"description": "Required for type='stop' and 'stop_limit'. Trigger price as string (e.g. '145.00')"
|
|
299
|
+
},
|
|
300
|
+
"trail_price": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"description": "Trail amount in dollars for type='trailing_stop' (e.g. '5.00' means $5 trail)"
|
|
303
|
+
},
|
|
304
|
+
"trail_percent": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"description": "Trail percentage for type='trailing_stop' (e.g. '2.5' means 2.5% trail)"
|
|
307
|
+
},
|
|
308
|
+
"extended_hours": {
|
|
309
|
+
"type": "boolean",
|
|
310
|
+
"description": "Allow extended hours execution (only for type='limit' with time_in_force='day')"
|
|
311
|
+
},
|
|
312
|
+
"client_order_id": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"description": "Optional unique ID for your own tracking (max 48 chars)"
|
|
315
|
+
},
|
|
316
|
+
"order_class": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"description": "MUST be lowercase: 'simple' (default), 'bracket' (entry + take_profit + stop_loss), 'oco' (one-cancels-other), 'oto' (one-triggers-other)",
|
|
319
|
+
"enum": [
|
|
320
|
+
"simple",
|
|
321
|
+
"bracket",
|
|
322
|
+
"oco",
|
|
323
|
+
"oto"
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
"take_profit": {
|
|
327
|
+
"type": "object",
|
|
328
|
+
"description": "For bracket orders: { \"limit_price\": \"155.00\" }"
|
|
329
|
+
},
|
|
330
|
+
"stop_loss": {
|
|
331
|
+
"type": "object",
|
|
332
|
+
"description": "For bracket orders: { \"stop_price\": \"140.00\", \"limit_price\": \"139.50\" }"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"symbol",
|
|
337
|
+
"side",
|
|
338
|
+
"type",
|
|
339
|
+
"time_in_force"
|
|
340
|
+
]
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "get_order",
|
|
345
|
+
"description": "Get details of a specific order by its order ID, including status, fill info, and timestamps.",
|
|
346
|
+
"method": "GET",
|
|
347
|
+
"path": "/get-order",
|
|
348
|
+
"input_schema": {
|
|
349
|
+
"type": "object",
|
|
350
|
+
"properties": {
|
|
351
|
+
"order_id": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"description": "Order ID (UUID)"
|
|
354
|
+
},
|
|
355
|
+
"nested": {
|
|
356
|
+
"type": "boolean",
|
|
357
|
+
"description": "Include nested multi-leg order details"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"required": [
|
|
361
|
+
"order_id"
|
|
362
|
+
]
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "replace_order",
|
|
367
|
+
"description": "Modify an existing open order by ID. Only open/pending orders can be replaced. Returns the new replacement order. All enum values MUST be lowercase.",
|
|
368
|
+
"method": "PATCH",
|
|
369
|
+
"path": "/replace-order",
|
|
370
|
+
"input_schema": {
|
|
371
|
+
"type": "object",
|
|
372
|
+
"properties": {
|
|
373
|
+
"order_id": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"description": "UUID of the order to replace (from create-order response or list-orders)"
|
|
376
|
+
},
|
|
377
|
+
"qty": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"description": "New quantity as string (e.g. '15')"
|
|
380
|
+
},
|
|
381
|
+
"time_in_force": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"description": "MUST be lowercase: 'day', 'gtc', 'opg', 'cls', 'ioc', 'fok'",
|
|
384
|
+
"enum": [
|
|
385
|
+
"day",
|
|
386
|
+
"gtc",
|
|
387
|
+
"opg",
|
|
388
|
+
"cls",
|
|
389
|
+
"ioc",
|
|
390
|
+
"fok"
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"limit_price": {
|
|
394
|
+
"type": "string",
|
|
395
|
+
"description": "New limit price as string (e.g. '152.50')"
|
|
396
|
+
},
|
|
397
|
+
"stop_price": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"description": "New stop trigger price as string (e.g. '148.00')"
|
|
400
|
+
},
|
|
401
|
+
"trail": {
|
|
402
|
+
"type": "string",
|
|
403
|
+
"description": "New trail amount in dollars or percent as string"
|
|
404
|
+
},
|
|
405
|
+
"client_order_id": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"description": "New client-assigned tracking ID (max 48 chars)"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"required": [
|
|
411
|
+
"order_id"
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "cancel_order",
|
|
417
|
+
"description": "Cancel a specific open order by its order ID.",
|
|
418
|
+
"method": "DELETE",
|
|
419
|
+
"path": "/cancel-order",
|
|
420
|
+
"input_schema": {
|
|
421
|
+
"type": "object",
|
|
422
|
+
"properties": {
|
|
423
|
+
"order_id": {
|
|
424
|
+
"type": "string",
|
|
425
|
+
"description": "Order ID to cancel (UUID)"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"required": [
|
|
429
|
+
"order_id"
|
|
430
|
+
]
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "cancel_all_orders",
|
|
435
|
+
"description": "Cancel all open orders. Returns a list of orders that were cancelled. Use with caution.",
|
|
436
|
+
"method": "DELETE",
|
|
437
|
+
"path": "/cancel-all-orders",
|
|
438
|
+
"input_schema": {
|
|
439
|
+
"type": "object",
|
|
440
|
+
"properties": {}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "list_positions",
|
|
445
|
+
"description": "Get all open positions. Returns array of {symbol, qty, avg_entry_price, current_price, market_value, cost_basis, unrealized_pl, unrealized_plpc, side}. No parameters needed.",
|
|
446
|
+
"method": "GET",
|
|
447
|
+
"path": "/list-positions",
|
|
448
|
+
"input_schema": {
|
|
449
|
+
"type": "object",
|
|
450
|
+
"properties": {}
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "get_position",
|
|
455
|
+
"description": "Get details of a specific open position by symbol or asset ID, including quantity, market value, cost basis, and unrealized P&L.",
|
|
456
|
+
"method": "GET",
|
|
457
|
+
"path": "/get-position",
|
|
458
|
+
"input_schema": {
|
|
459
|
+
"type": "object",
|
|
460
|
+
"properties": {
|
|
461
|
+
"symbol_or_asset_id": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"description": "Symbol (e.g., AAPL) or asset UUID"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"required": [
|
|
467
|
+
"symbol_or_asset_id"
|
|
468
|
+
]
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "close_position",
|
|
473
|
+
"description": "Close (sell) an open position by symbol. Full close by default. Use qty or percentage for partial close. Returns the closing order details.",
|
|
474
|
+
"method": "DELETE",
|
|
475
|
+
"path": "/close-position",
|
|
476
|
+
"input_schema": {
|
|
477
|
+
"type": "object",
|
|
478
|
+
"properties": {
|
|
479
|
+
"symbol_or_asset_id": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"description": "Symbol in UPPERCASE (e.g. 'AAPL', 'BTC/USD') or asset UUID"
|
|
482
|
+
},
|
|
483
|
+
"qty": {
|
|
484
|
+
"type": "string",
|
|
485
|
+
"description": "Number of shares to close as string for partial close (e.g. '5'). Omit to close entire position."
|
|
486
|
+
},
|
|
487
|
+
"percentage": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"description": "Percentage of position to close as string (e.g. '50' for 50%). Omit to close entire position."
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"required": [
|
|
493
|
+
"symbol_or_asset_id"
|
|
494
|
+
]
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "close_all_positions",
|
|
499
|
+
"description": "Liquidate all open positions at market price. Optionally cancel all open orders first. Use with extreme caution.",
|
|
500
|
+
"method": "DELETE",
|
|
501
|
+
"path": "/close-all-positions",
|
|
502
|
+
"input_schema": {
|
|
503
|
+
"type": "object",
|
|
504
|
+
"properties": {
|
|
505
|
+
"cancel_orders": {
|
|
506
|
+
"type": "boolean",
|
|
507
|
+
"description": "Also cancel all open orders before liquidating (recommended: true)"
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "list_assets",
|
|
514
|
+
"description": "Get a list of tradeable assets. Filter by status, asset class, or exchange. Returns symbol, name, tradability, marginability, shortability, and more.",
|
|
515
|
+
"method": "GET",
|
|
516
|
+
"path": "/list-assets",
|
|
517
|
+
"input_schema": {
|
|
518
|
+
"type": "object",
|
|
519
|
+
"properties": {
|
|
520
|
+
"status": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"description": "Filter by status: active, inactive",
|
|
523
|
+
"enum": [
|
|
524
|
+
"active",
|
|
525
|
+
"inactive"
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
"asset_class": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"description": "Filter by class: us_equity, us_option, crypto"
|
|
531
|
+
},
|
|
532
|
+
"exchange": {
|
|
533
|
+
"type": "string",
|
|
534
|
+
"description": "Filter by exchange: AMEX, ARCA, BATS, NYSE, NASDAQ, NYSEARCA, OTC, CRYPTO"
|
|
535
|
+
},
|
|
536
|
+
"attributes": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"description": "Comma-separated attributes filter (e.g., options_enabled)"
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "get_asset",
|
|
545
|
+
"description": "Get details of a specific asset by symbol or ID. Returns tradability, marginability, shortability, fractionability, and exchange info.",
|
|
546
|
+
"method": "GET",
|
|
547
|
+
"path": "/get-asset",
|
|
548
|
+
"input_schema": {
|
|
549
|
+
"type": "object",
|
|
550
|
+
"properties": {
|
|
551
|
+
"symbol_or_asset_id": {
|
|
552
|
+
"type": "string",
|
|
553
|
+
"description": "Symbol (e.g., AAPL, BTC/USD) or asset UUID"
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"required": [
|
|
557
|
+
"symbol_or_asset_id"
|
|
558
|
+
]
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "get_option_contracts",
|
|
563
|
+
"description": "Get available option contracts. Filter by underlying symbol, expiration date, strike price, and option type.",
|
|
564
|
+
"method": "GET",
|
|
565
|
+
"path": "/get-option-contracts",
|
|
566
|
+
"input_schema": {
|
|
567
|
+
"type": "object",
|
|
568
|
+
"properties": {
|
|
569
|
+
"underlying_symbols": {
|
|
570
|
+
"type": "string",
|
|
571
|
+
"description": "Comma-separated underlying symbols (e.g., AAPL,TSLA)"
|
|
572
|
+
},
|
|
573
|
+
"status": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"description": "Contract status: active, inactive",
|
|
576
|
+
"enum": [
|
|
577
|
+
"active",
|
|
578
|
+
"inactive"
|
|
579
|
+
]
|
|
580
|
+
},
|
|
581
|
+
"expiration_date": {
|
|
582
|
+
"type": "string",
|
|
583
|
+
"description": "Exact expiration date (YYYY-MM-DD)"
|
|
584
|
+
},
|
|
585
|
+
"expiration_date_gte": {
|
|
586
|
+
"type": "string",
|
|
587
|
+
"description": "Expiration on or after date (YYYY-MM-DD)"
|
|
588
|
+
},
|
|
589
|
+
"expiration_date_lte": {
|
|
590
|
+
"type": "string",
|
|
591
|
+
"description": "Expiration on or before date (YYYY-MM-DD)"
|
|
592
|
+
},
|
|
593
|
+
"strike_price_gte": {
|
|
594
|
+
"type": "string",
|
|
595
|
+
"description": "Minimum strike price"
|
|
596
|
+
},
|
|
597
|
+
"strike_price_lte": {
|
|
598
|
+
"type": "string",
|
|
599
|
+
"description": "Maximum strike price"
|
|
600
|
+
},
|
|
601
|
+
"type": {
|
|
602
|
+
"type": "string",
|
|
603
|
+
"description": "Option type: call, put",
|
|
604
|
+
"enum": [
|
|
605
|
+
"call",
|
|
606
|
+
"put"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"style": {
|
|
610
|
+
"type": "string",
|
|
611
|
+
"description": "Option style: american, european",
|
|
612
|
+
"enum": [
|
|
613
|
+
"american",
|
|
614
|
+
"european"
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
"limit": {
|
|
618
|
+
"type": "integer",
|
|
619
|
+
"description": "Max results per page"
|
|
620
|
+
},
|
|
621
|
+
"page_token": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"description": "Pagination token"
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "list_watchlists",
|
|
630
|
+
"description": "Get all watchlists for the account.",
|
|
631
|
+
"method": "GET",
|
|
632
|
+
"path": "/list-watchlists",
|
|
633
|
+
"input_schema": {
|
|
634
|
+
"type": "object",
|
|
635
|
+
"properties": {}
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "create_watchlist",
|
|
640
|
+
"description": "Create a new watchlist with a name and optional list of symbols.",
|
|
641
|
+
"method": "POST",
|
|
642
|
+
"path": "/create-watchlist",
|
|
643
|
+
"input_schema": {
|
|
644
|
+
"type": "object",
|
|
645
|
+
"properties": {
|
|
646
|
+
"name": {
|
|
647
|
+
"type": "string",
|
|
648
|
+
"description": "Watchlist name"
|
|
649
|
+
},
|
|
650
|
+
"symbols": {
|
|
651
|
+
"type": "array",
|
|
652
|
+
"items": {
|
|
653
|
+
"type": "string"
|
|
654
|
+
},
|
|
655
|
+
"description": "Array of symbols to add (e.g., [\"AAPL\", \"TSLA\"])"
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"required": [
|
|
659
|
+
"name"
|
|
660
|
+
]
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "update_watchlist",
|
|
665
|
+
"description": "Update a watchlist's name and/or symbols by watchlist ID.",
|
|
666
|
+
"method": "PUT",
|
|
667
|
+
"path": "/update-watchlist",
|
|
668
|
+
"input_schema": {
|
|
669
|
+
"type": "object",
|
|
670
|
+
"properties": {
|
|
671
|
+
"watchlist_id": {
|
|
672
|
+
"type": "string",
|
|
673
|
+
"description": "Watchlist UUID"
|
|
674
|
+
},
|
|
675
|
+
"name": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"description": "New watchlist name"
|
|
678
|
+
},
|
|
679
|
+
"symbols": {
|
|
680
|
+
"type": "array",
|
|
681
|
+
"items": {
|
|
682
|
+
"type": "string"
|
|
683
|
+
},
|
|
684
|
+
"description": "New list of symbols (replaces existing)"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
"required": [
|
|
688
|
+
"watchlist_id"
|
|
689
|
+
]
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "delete_watchlist",
|
|
694
|
+
"description": "Delete a watchlist by its ID.",
|
|
695
|
+
"method": "DELETE",
|
|
696
|
+
"path": "/delete-watchlist",
|
|
697
|
+
"input_schema": {
|
|
698
|
+
"type": "object",
|
|
699
|
+
"properties": {
|
|
700
|
+
"watchlist_id": {
|
|
701
|
+
"type": "string",
|
|
702
|
+
"description": "Watchlist UUID to delete"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"required": [
|
|
706
|
+
"watchlist_id"
|
|
707
|
+
]
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "get_clock",
|
|
712
|
+
"description": "Get market clock: {is_open, timestamp, next_open, next_close}. Check if US stock market is currently open. No parameters needed.",
|
|
713
|
+
"method": "GET",
|
|
714
|
+
"path": "/get-clock",
|
|
715
|
+
"input_schema": {
|
|
716
|
+
"type": "object",
|
|
717
|
+
"properties": {}
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "get_calendar",
|
|
722
|
+
"description": "Get the market calendar showing trading days and their open/close times. Useful for determining trading days and early closes.",
|
|
723
|
+
"method": "GET",
|
|
724
|
+
"path": "/get-calendar",
|
|
725
|
+
"input_schema": {
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"start": {
|
|
729
|
+
"type": "string",
|
|
730
|
+
"description": "Start date (YYYY-MM-DD)"
|
|
731
|
+
},
|
|
732
|
+
"end": {
|
|
733
|
+
"type": "string",
|
|
734
|
+
"description": "End date (YYYY-MM-DD)"
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "get_announcements",
|
|
741
|
+
"description": "Get corporate action announcements: dividends, mergers, spinoffs, stock splits, and more. Filter by type, date, and symbol.",
|
|
742
|
+
"method": "GET",
|
|
743
|
+
"path": "/get-announcements",
|
|
744
|
+
"input_schema": {
|
|
745
|
+
"type": "object",
|
|
746
|
+
"properties": {
|
|
747
|
+
"ca_types": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"description": "Comma-separated types: dividend, merger, spinoff, split"
|
|
750
|
+
},
|
|
751
|
+
"since": {
|
|
752
|
+
"type": "string",
|
|
753
|
+
"description": "Start date (YYYY-MM-DD)"
|
|
754
|
+
},
|
|
755
|
+
"until": {
|
|
756
|
+
"type": "string",
|
|
757
|
+
"description": "End date (YYYY-MM-DD)"
|
|
758
|
+
},
|
|
759
|
+
"symbol": {
|
|
760
|
+
"type": "string",
|
|
761
|
+
"description": "Filter by symbol"
|
|
762
|
+
},
|
|
763
|
+
"cusip": {
|
|
764
|
+
"type": "string",
|
|
765
|
+
"description": "Filter by CUSIP"
|
|
766
|
+
},
|
|
767
|
+
"date_type": {
|
|
768
|
+
"type": "string",
|
|
769
|
+
"description": "Date field to filter on: declaration, ex, record, payable",
|
|
770
|
+
"enum": [
|
|
771
|
+
"declaration",
|
|
772
|
+
"ex",
|
|
773
|
+
"record",
|
|
774
|
+
"payable"
|
|
775
|
+
]
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"required": [
|
|
779
|
+
"ca_types",
|
|
780
|
+
"since",
|
|
781
|
+
"until"
|
|
782
|
+
]
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "stock_bars",
|
|
787
|
+
"description": "Get historical OHLCV (open/high/low/close/volume) bars for stocks. Returns arrays of {t, o, h, l, c, v, n, vw} per symbol. Example: symbols='AAPL', timeframe='1Day', start='2024-01-01'.",
|
|
788
|
+
"method": "GET",
|
|
789
|
+
"path": "/stock-bars",
|
|
790
|
+
"input_schema": {
|
|
791
|
+
"type": "object",
|
|
792
|
+
"properties": {
|
|
793
|
+
"symbols": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"description": "Comma-separated symbols (e.g., AAPL,TSLA,MSFT)"
|
|
796
|
+
},
|
|
797
|
+
"timeframe": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"description": "Bar timeframe: 1Min, 5Min, 15Min, 30Min, 1Hour, 4Hour, 1Day, 1Week, 1Month"
|
|
800
|
+
},
|
|
801
|
+
"start": {
|
|
802
|
+
"type": "string",
|
|
803
|
+
"description": "Start time (RFC3339 or YYYY-MM-DD)"
|
|
804
|
+
},
|
|
805
|
+
"end": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"description": "End time (RFC3339 or YYYY-MM-DD)"
|
|
808
|
+
},
|
|
809
|
+
"limit": {
|
|
810
|
+
"type": "integer",
|
|
811
|
+
"description": "Max bars per symbol (default 1000, max 10000)"
|
|
812
|
+
},
|
|
813
|
+
"page_token": {
|
|
814
|
+
"type": "string",
|
|
815
|
+
"description": "Pagination token"
|
|
816
|
+
},
|
|
817
|
+
"adjustment": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"description": "Price adjustment: raw, split, dividend, all",
|
|
820
|
+
"enum": [
|
|
821
|
+
"raw",
|
|
822
|
+
"split",
|
|
823
|
+
"dividend",
|
|
824
|
+
"all"
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
"feed": {
|
|
828
|
+
"type": "string",
|
|
829
|
+
"description": "Data feed: iex (free), sip (premium)",
|
|
830
|
+
"enum": [
|
|
831
|
+
"iex",
|
|
832
|
+
"sip"
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
"sort": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"description": "Sort order: asc, desc",
|
|
838
|
+
"enum": [
|
|
839
|
+
"asc",
|
|
840
|
+
"desc"
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
"currency": {
|
|
844
|
+
"type": "string",
|
|
845
|
+
"description": "Currency for prices (default: USD)"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"required": [
|
|
849
|
+
"symbols",
|
|
850
|
+
"timeframe"
|
|
851
|
+
]
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "stock_trades",
|
|
856
|
+
"description": "Get historical trade (tick) data for one or more stock symbols. Returns price, size, exchange, and conditions for each trade.",
|
|
857
|
+
"method": "GET",
|
|
858
|
+
"path": "/stock-trades",
|
|
859
|
+
"input_schema": {
|
|
860
|
+
"type": "object",
|
|
861
|
+
"properties": {
|
|
862
|
+
"symbols": {
|
|
863
|
+
"type": "string",
|
|
864
|
+
"description": "Comma-separated symbols (e.g., AAPL,TSLA)"
|
|
865
|
+
},
|
|
866
|
+
"start": {
|
|
867
|
+
"type": "string",
|
|
868
|
+
"description": "Start time (RFC3339 or YYYY-MM-DD)"
|
|
869
|
+
},
|
|
870
|
+
"end": {
|
|
871
|
+
"type": "string",
|
|
872
|
+
"description": "End time (RFC3339 or YYYY-MM-DD)"
|
|
873
|
+
},
|
|
874
|
+
"limit": {
|
|
875
|
+
"type": "integer",
|
|
876
|
+
"description": "Max trades per symbol (default 1000, max 10000)"
|
|
877
|
+
},
|
|
878
|
+
"page_token": {
|
|
879
|
+
"type": "string",
|
|
880
|
+
"description": "Pagination token"
|
|
881
|
+
},
|
|
882
|
+
"feed": {
|
|
883
|
+
"type": "string",
|
|
884
|
+
"description": "Data feed: iex, sip",
|
|
885
|
+
"enum": [
|
|
886
|
+
"iex",
|
|
887
|
+
"sip"
|
|
888
|
+
]
|
|
889
|
+
},
|
|
890
|
+
"sort": {
|
|
891
|
+
"type": "string",
|
|
892
|
+
"description": "Sort order: asc, desc",
|
|
893
|
+
"enum": [
|
|
894
|
+
"asc",
|
|
895
|
+
"desc"
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
"currency": {
|
|
899
|
+
"type": "string",
|
|
900
|
+
"description": "Currency for prices (default: USD)"
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
"required": [
|
|
904
|
+
"symbols"
|
|
905
|
+
]
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "stock_quotes",
|
|
910
|
+
"description": "Get historical quote (NBBO) data for one or more stock symbols. Returns bid/ask price and size.",
|
|
911
|
+
"method": "GET",
|
|
912
|
+
"path": "/stock-quotes",
|
|
913
|
+
"input_schema": {
|
|
914
|
+
"type": "object",
|
|
915
|
+
"properties": {
|
|
916
|
+
"symbols": {
|
|
917
|
+
"type": "string",
|
|
918
|
+
"description": "Comma-separated symbols"
|
|
919
|
+
},
|
|
920
|
+
"start": {
|
|
921
|
+
"type": "string",
|
|
922
|
+
"description": "Start time (RFC3339 or YYYY-MM-DD)"
|
|
923
|
+
},
|
|
924
|
+
"end": {
|
|
925
|
+
"type": "string",
|
|
926
|
+
"description": "End time (RFC3339 or YYYY-MM-DD)"
|
|
927
|
+
},
|
|
928
|
+
"limit": {
|
|
929
|
+
"type": "integer",
|
|
930
|
+
"description": "Max quotes per symbol (default 1000, max 10000)"
|
|
931
|
+
},
|
|
932
|
+
"page_token": {
|
|
933
|
+
"type": "string",
|
|
934
|
+
"description": "Pagination token"
|
|
935
|
+
},
|
|
936
|
+
"feed": {
|
|
937
|
+
"type": "string",
|
|
938
|
+
"description": "Data feed: iex, sip",
|
|
939
|
+
"enum": [
|
|
940
|
+
"iex",
|
|
941
|
+
"sip"
|
|
942
|
+
]
|
|
943
|
+
},
|
|
944
|
+
"sort": {
|
|
945
|
+
"type": "string",
|
|
946
|
+
"description": "Sort order: asc, desc",
|
|
947
|
+
"enum": [
|
|
948
|
+
"asc",
|
|
949
|
+
"desc"
|
|
950
|
+
]
|
|
951
|
+
},
|
|
952
|
+
"currency": {
|
|
953
|
+
"type": "string",
|
|
954
|
+
"description": "Currency for prices"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"required": [
|
|
958
|
+
"symbols"
|
|
959
|
+
]
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "stock_snapshots",
|
|
964
|
+
"description": "Get real-time snapshots for stocks in one call. Returns {latestTrade, latestQuote, minuteBar, dailyBar, prevDailyBar} per symbol. Best way to get current price + daily change. Example: symbols='AAPL,TSLA'.",
|
|
965
|
+
"method": "GET",
|
|
966
|
+
"path": "/stock-snapshots",
|
|
967
|
+
"input_schema": {
|
|
968
|
+
"type": "object",
|
|
969
|
+
"properties": {
|
|
970
|
+
"symbols": {
|
|
971
|
+
"type": "string",
|
|
972
|
+
"description": "Comma-separated symbols (e.g., AAPL,TSLA,MSFT)"
|
|
973
|
+
},
|
|
974
|
+
"feed": {
|
|
975
|
+
"type": "string",
|
|
976
|
+
"description": "Data feed: iex, sip",
|
|
977
|
+
"enum": [
|
|
978
|
+
"iex",
|
|
979
|
+
"sip"
|
|
980
|
+
]
|
|
981
|
+
},
|
|
982
|
+
"currency": {
|
|
983
|
+
"type": "string",
|
|
984
|
+
"description": "Currency for prices"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"required": [
|
|
988
|
+
"symbols"
|
|
989
|
+
]
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "stock_latest_trades",
|
|
994
|
+
"description": "Get the most recent trade for stocks. Returns {price, size, timestamp, exchange} per symbol. Fastest way to get current stock prices. Example: symbols='AAPL,TSLA,JNJ'.",
|
|
995
|
+
"method": "GET",
|
|
996
|
+
"path": "/stock-latest-trades",
|
|
997
|
+
"input_schema": {
|
|
998
|
+
"type": "object",
|
|
999
|
+
"properties": {
|
|
1000
|
+
"symbols": {
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"description": "Comma-separated symbols"
|
|
1003
|
+
},
|
|
1004
|
+
"feed": {
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"description": "Data feed: iex, sip",
|
|
1007
|
+
"enum": [
|
|
1008
|
+
"iex",
|
|
1009
|
+
"sip"
|
|
1010
|
+
]
|
|
1011
|
+
},
|
|
1012
|
+
"currency": {
|
|
1013
|
+
"type": "string",
|
|
1014
|
+
"description": "Currency for prices"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"required": [
|
|
1018
|
+
"symbols"
|
|
1019
|
+
]
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "stock_latest_quotes",
|
|
1024
|
+
"description": "Get the latest NBBO quote for one or more stock symbols. Returns bid/ask price and size.",
|
|
1025
|
+
"method": "GET",
|
|
1026
|
+
"path": "/stock-latest-quotes",
|
|
1027
|
+
"input_schema": {
|
|
1028
|
+
"type": "object",
|
|
1029
|
+
"properties": {
|
|
1030
|
+
"symbols": {
|
|
1031
|
+
"type": "string",
|
|
1032
|
+
"description": "Comma-separated symbols"
|
|
1033
|
+
},
|
|
1034
|
+
"feed": {
|
|
1035
|
+
"type": "string",
|
|
1036
|
+
"description": "Data feed: iex, sip",
|
|
1037
|
+
"enum": [
|
|
1038
|
+
"iex",
|
|
1039
|
+
"sip"
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
1042
|
+
"currency": {
|
|
1043
|
+
"type": "string",
|
|
1044
|
+
"description": "Currency for prices"
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
"required": [
|
|
1048
|
+
"symbols"
|
|
1049
|
+
]
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "stock_latest_bars",
|
|
1054
|
+
"description": "Get the latest minute bar for one or more stock symbols.",
|
|
1055
|
+
"method": "GET",
|
|
1056
|
+
"path": "/stock-latest-bars",
|
|
1057
|
+
"input_schema": {
|
|
1058
|
+
"type": "object",
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"symbols": {
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"description": "Comma-separated symbols"
|
|
1063
|
+
},
|
|
1064
|
+
"feed": {
|
|
1065
|
+
"type": "string",
|
|
1066
|
+
"description": "Data feed: iex, sip",
|
|
1067
|
+
"enum": [
|
|
1068
|
+
"iex",
|
|
1069
|
+
"sip"
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
"currency": {
|
|
1073
|
+
"type": "string",
|
|
1074
|
+
"description": "Currency for prices"
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
"required": [
|
|
1078
|
+
"symbols"
|
|
1079
|
+
]
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"name": "crypto_bars",
|
|
1084
|
+
"description": "Get historical OHLCV bar data for one or more crypto symbols (e.g., BTC/USD, ETH/USD).",
|
|
1085
|
+
"method": "GET",
|
|
1086
|
+
"path": "/crypto-bars",
|
|
1087
|
+
"input_schema": {
|
|
1088
|
+
"type": "object",
|
|
1089
|
+
"properties": {
|
|
1090
|
+
"symbols": {
|
|
1091
|
+
"type": "string",
|
|
1092
|
+
"description": "Comma-separated crypto pairs (e.g., BTC/USD,ETH/USD)"
|
|
1093
|
+
},
|
|
1094
|
+
"timeframe": {
|
|
1095
|
+
"type": "string",
|
|
1096
|
+
"description": "Bar timeframe: 1Min, 5Min, 15Min, 30Min, 1Hour, 4Hour, 1Day, 1Week, 1Month"
|
|
1097
|
+
},
|
|
1098
|
+
"start": {
|
|
1099
|
+
"type": "string",
|
|
1100
|
+
"description": "Start time (RFC3339 or YYYY-MM-DD)"
|
|
1101
|
+
},
|
|
1102
|
+
"end": {
|
|
1103
|
+
"type": "string",
|
|
1104
|
+
"description": "End time (RFC3339 or YYYY-MM-DD)"
|
|
1105
|
+
},
|
|
1106
|
+
"limit": {
|
|
1107
|
+
"type": "integer",
|
|
1108
|
+
"description": "Max bars per symbol (default 1000, max 10000)"
|
|
1109
|
+
},
|
|
1110
|
+
"page_token": {
|
|
1111
|
+
"type": "string",
|
|
1112
|
+
"description": "Pagination token"
|
|
1113
|
+
},
|
|
1114
|
+
"sort": {
|
|
1115
|
+
"type": "string",
|
|
1116
|
+
"description": "Sort order: asc, desc",
|
|
1117
|
+
"enum": [
|
|
1118
|
+
"asc",
|
|
1119
|
+
"desc"
|
|
1120
|
+
]
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"required": [
|
|
1124
|
+
"symbols",
|
|
1125
|
+
"timeframe"
|
|
1126
|
+
]
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"name": "crypto_trades",
|
|
1131
|
+
"description": "Get historical trade data for one or more crypto symbols.",
|
|
1132
|
+
"method": "GET",
|
|
1133
|
+
"path": "/crypto-trades",
|
|
1134
|
+
"input_schema": {
|
|
1135
|
+
"type": "object",
|
|
1136
|
+
"properties": {
|
|
1137
|
+
"symbols": {
|
|
1138
|
+
"type": "string",
|
|
1139
|
+
"description": "Comma-separated crypto pairs (e.g., BTC/USD,ETH/USD)"
|
|
1140
|
+
},
|
|
1141
|
+
"start": {
|
|
1142
|
+
"type": "string",
|
|
1143
|
+
"description": "Start time (RFC3339 or YYYY-MM-DD)"
|
|
1144
|
+
},
|
|
1145
|
+
"end": {
|
|
1146
|
+
"type": "string",
|
|
1147
|
+
"description": "End time (RFC3339 or YYYY-MM-DD)"
|
|
1148
|
+
},
|
|
1149
|
+
"limit": {
|
|
1150
|
+
"type": "integer",
|
|
1151
|
+
"description": "Max trades per symbol"
|
|
1152
|
+
},
|
|
1153
|
+
"page_token": {
|
|
1154
|
+
"type": "string",
|
|
1155
|
+
"description": "Pagination token"
|
|
1156
|
+
},
|
|
1157
|
+
"sort": {
|
|
1158
|
+
"type": "string",
|
|
1159
|
+
"description": "Sort order: asc, desc",
|
|
1160
|
+
"enum": [
|
|
1161
|
+
"asc",
|
|
1162
|
+
"desc"
|
|
1163
|
+
]
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
"required": [
|
|
1167
|
+
"symbols"
|
|
1168
|
+
]
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"name": "crypto_snapshots",
|
|
1173
|
+
"description": "Get real-time snapshots for crypto pairs in one call. Returns {latestTrade, latestQuote, minuteBar, dailyBar, prevDailyBar} per symbol. Example: symbols='BTC/USD,ETH/USD'.",
|
|
1174
|
+
"method": "GET",
|
|
1175
|
+
"path": "/crypto-snapshots",
|
|
1176
|
+
"input_schema": {
|
|
1177
|
+
"type": "object",
|
|
1178
|
+
"properties": {
|
|
1179
|
+
"symbols": {
|
|
1180
|
+
"type": "string",
|
|
1181
|
+
"description": "Comma-separated crypto pairs (e.g., BTC/USD,ETH/USD,SOL/USD)"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
"required": [
|
|
1185
|
+
"symbols"
|
|
1186
|
+
]
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "crypto_latest_trades",
|
|
1191
|
+
"description": "Get the latest trade for one or more crypto pairs. Quick way to check current crypto prices.",
|
|
1192
|
+
"method": "GET",
|
|
1193
|
+
"path": "/crypto-latest-trades",
|
|
1194
|
+
"input_schema": {
|
|
1195
|
+
"type": "object",
|
|
1196
|
+
"properties": {
|
|
1197
|
+
"symbols": {
|
|
1198
|
+
"type": "string",
|
|
1199
|
+
"description": "Comma-separated crypto pairs (e.g., BTC/USD,ETH/USD)"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
"required": [
|
|
1203
|
+
"symbols"
|
|
1204
|
+
]
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "crypto_latest_bars",
|
|
1209
|
+
"description": "Get the latest minute bar for one or more crypto pairs.",
|
|
1210
|
+
"method": "GET",
|
|
1211
|
+
"path": "/crypto-latest-bars",
|
|
1212
|
+
"input_schema": {
|
|
1213
|
+
"type": "object",
|
|
1214
|
+
"properties": {
|
|
1215
|
+
"symbols": {
|
|
1216
|
+
"type": "string",
|
|
1217
|
+
"description": "Comma-separated crypto pairs (e.g., BTC/USD,ETH/USD)"
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"required": [
|
|
1221
|
+
"symbols"
|
|
1222
|
+
]
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"name": "crypto_latest_quotes",
|
|
1227
|
+
"description": "Get the latest quote (bid/ask) for one or more crypto pairs.",
|
|
1228
|
+
"method": "GET",
|
|
1229
|
+
"path": "/crypto-latest-quotes",
|
|
1230
|
+
"input_schema": {
|
|
1231
|
+
"type": "object",
|
|
1232
|
+
"properties": {
|
|
1233
|
+
"symbols": {
|
|
1234
|
+
"type": "string",
|
|
1235
|
+
"description": "Comma-separated crypto pairs (e.g., BTC/USD,ETH/USD)"
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"required": [
|
|
1239
|
+
"symbols"
|
|
1240
|
+
]
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "crypto_latest_orderbooks",
|
|
1245
|
+
"description": "Get the latest orderbook (bid/ask depth) for one or more crypto pairs.",
|
|
1246
|
+
"method": "GET",
|
|
1247
|
+
"path": "/crypto-latest-orderbooks",
|
|
1248
|
+
"input_schema": {
|
|
1249
|
+
"type": "object",
|
|
1250
|
+
"properties": {
|
|
1251
|
+
"symbols": {
|
|
1252
|
+
"type": "string",
|
|
1253
|
+
"description": "Comma-separated crypto pairs (e.g., BTC/USD,ETH/USD)"
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
"required": [
|
|
1257
|
+
"symbols"
|
|
1258
|
+
]
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"name": "option_bars",
|
|
1263
|
+
"description": "Get historical OHLCV bar data for option contracts. Use OCC symbol format (e.g., AAPL230120C00150000).",
|
|
1264
|
+
"method": "GET",
|
|
1265
|
+
"path": "/option-bars",
|
|
1266
|
+
"input_schema": {
|
|
1267
|
+
"type": "object",
|
|
1268
|
+
"properties": {
|
|
1269
|
+
"symbols": {
|
|
1270
|
+
"type": "string",
|
|
1271
|
+
"description": "Comma-separated option symbols in OCC format"
|
|
1272
|
+
},
|
|
1273
|
+
"timeframe": {
|
|
1274
|
+
"type": "string",
|
|
1275
|
+
"description": "Bar timeframe: 1Min, 5Min, 15Min, 30Min, 1Hour, 1Day, 1Week, 1Month"
|
|
1276
|
+
},
|
|
1277
|
+
"start": {
|
|
1278
|
+
"type": "string",
|
|
1279
|
+
"description": "Start time (RFC3339 or YYYY-MM-DD)"
|
|
1280
|
+
},
|
|
1281
|
+
"end": {
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"description": "End time (RFC3339 or YYYY-MM-DD)"
|
|
1284
|
+
},
|
|
1285
|
+
"limit": {
|
|
1286
|
+
"type": "integer",
|
|
1287
|
+
"description": "Max bars (default 1000, max 10000)"
|
|
1288
|
+
},
|
|
1289
|
+
"page_token": {
|
|
1290
|
+
"type": "string",
|
|
1291
|
+
"description": "Pagination token"
|
|
1292
|
+
},
|
|
1293
|
+
"sort": {
|
|
1294
|
+
"type": "string",
|
|
1295
|
+
"description": "Sort order: asc, desc",
|
|
1296
|
+
"enum": [
|
|
1297
|
+
"asc",
|
|
1298
|
+
"desc"
|
|
1299
|
+
]
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
"required": [
|
|
1303
|
+
"symbols",
|
|
1304
|
+
"timeframe"
|
|
1305
|
+
]
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"name": "option_chain",
|
|
1310
|
+
"description": "Get option chain snapshots for an underlying symbol. Returns {latestQuote, latestTrade, greeks, impliedVolatility} per contract. Filter by expiration, strike range, and type. Example: underlying_symbols='AAPL'.",
|
|
1311
|
+
"method": "GET",
|
|
1312
|
+
"path": "/option-chain",
|
|
1313
|
+
"input_schema": {
|
|
1314
|
+
"type": "object",
|
|
1315
|
+
"properties": {
|
|
1316
|
+
"underlying_symbols": {
|
|
1317
|
+
"type": "string",
|
|
1318
|
+
"description": "Underlying symbol (e.g., AAPL, SPY)"
|
|
1319
|
+
},
|
|
1320
|
+
"feed": {
|
|
1321
|
+
"type": "string",
|
|
1322
|
+
"description": "Data feed: indicative, opra",
|
|
1323
|
+
"enum": [
|
|
1324
|
+
"indicative",
|
|
1325
|
+
"opra"
|
|
1326
|
+
]
|
|
1327
|
+
},
|
|
1328
|
+
"expiration_date": {
|
|
1329
|
+
"type": "string",
|
|
1330
|
+
"description": "Exact expiration (YYYY-MM-DD)"
|
|
1331
|
+
},
|
|
1332
|
+
"expiration_date_gte": {
|
|
1333
|
+
"type": "string",
|
|
1334
|
+
"description": "Expiration on or after (YYYY-MM-DD)"
|
|
1335
|
+
},
|
|
1336
|
+
"expiration_date_lte": {
|
|
1337
|
+
"type": "string",
|
|
1338
|
+
"description": "Expiration on or before (YYYY-MM-DD)"
|
|
1339
|
+
},
|
|
1340
|
+
"strike_price_gte": {
|
|
1341
|
+
"type": "string",
|
|
1342
|
+
"description": "Min strike price"
|
|
1343
|
+
},
|
|
1344
|
+
"strike_price_lte": {
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"description": "Max strike price"
|
|
1347
|
+
},
|
|
1348
|
+
"type": {
|
|
1349
|
+
"type": "string",
|
|
1350
|
+
"description": "Option type: call, put",
|
|
1351
|
+
"enum": [
|
|
1352
|
+
"call",
|
|
1353
|
+
"put"
|
|
1354
|
+
]
|
|
1355
|
+
},
|
|
1356
|
+
"limit": {
|
|
1357
|
+
"type": "integer",
|
|
1358
|
+
"description": "Max results"
|
|
1359
|
+
},
|
|
1360
|
+
"page_token": {
|
|
1361
|
+
"type": "string",
|
|
1362
|
+
"description": "Pagination token"
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
"required": [
|
|
1366
|
+
"underlying_symbols"
|
|
1367
|
+
]
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "option_latest_quotes",
|
|
1372
|
+
"description": "Get the latest quote (bid/ask, greeks) for option contracts.",
|
|
1373
|
+
"method": "GET",
|
|
1374
|
+
"path": "/option-latest-quotes",
|
|
1375
|
+
"input_schema": {
|
|
1376
|
+
"type": "object",
|
|
1377
|
+
"properties": {
|
|
1378
|
+
"symbols": {
|
|
1379
|
+
"type": "string",
|
|
1380
|
+
"description": "Comma-separated option symbols in OCC format"
|
|
1381
|
+
},
|
|
1382
|
+
"feed": {
|
|
1383
|
+
"type": "string",
|
|
1384
|
+
"description": "Data feed: indicative, opra",
|
|
1385
|
+
"enum": [
|
|
1386
|
+
"indicative",
|
|
1387
|
+
"opra"
|
|
1388
|
+
]
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
"required": [
|
|
1392
|
+
"symbols"
|
|
1393
|
+
]
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "most_active_stocks",
|
|
1398
|
+
"description": "Get the most actively traded stocks today ranked by volume or number of trades. Returns {symbol, volume, trade_count} per stock. No parameters required (defaults to top 10 by volume).",
|
|
1399
|
+
"method": "GET",
|
|
1400
|
+
"path": "/most-active-stocks",
|
|
1401
|
+
"input_schema": {
|
|
1402
|
+
"type": "object",
|
|
1403
|
+
"properties": {
|
|
1404
|
+
"by": {
|
|
1405
|
+
"type": "string",
|
|
1406
|
+
"description": "Rank by: volume, trades",
|
|
1407
|
+
"enum": [
|
|
1408
|
+
"volume",
|
|
1409
|
+
"trades"
|
|
1410
|
+
]
|
|
1411
|
+
},
|
|
1412
|
+
"top": {
|
|
1413
|
+
"type": "integer",
|
|
1414
|
+
"description": "Number of results (default 10, max 100)"
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "market_movers",
|
|
1421
|
+
"description": "Get today's biggest gainers and losers by percent change. Returns {gainers: [...], losers: [...]} each with {symbol, percent_change, price, change}.",
|
|
1422
|
+
"method": "GET",
|
|
1423
|
+
"path": "/market-movers",
|
|
1424
|
+
"input_schema": {
|
|
1425
|
+
"type": "object",
|
|
1426
|
+
"properties": {
|
|
1427
|
+
"top": {
|
|
1428
|
+
"type": "integer",
|
|
1429
|
+
"description": "Number of results per side (default 10, max 50)"
|
|
1430
|
+
},
|
|
1431
|
+
"market_type": {
|
|
1432
|
+
"type": "string",
|
|
1433
|
+
"description": "Market type: stocks, crypto",
|
|
1434
|
+
"enum": [
|
|
1435
|
+
"stocks",
|
|
1436
|
+
"crypto"
|
|
1437
|
+
]
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "get_news",
|
|
1444
|
+
"description": "Get news articles from Benzinga (FREE, data since 2015). Returns {id, headline, summary, author, source, url, symbols, created_at, images}. Filter by symbols and date range. Example: symbols='AAPL,TSLA', limit=5.",
|
|
1445
|
+
"method": "GET",
|
|
1446
|
+
"path": "/get-news",
|
|
1447
|
+
"input_schema": {
|
|
1448
|
+
"type": "object",
|
|
1449
|
+
"properties": {
|
|
1450
|
+
"symbols": {
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"description": "Comma-separated symbols to filter news (e.g., AAPL,TSLA,BTC/USD)"
|
|
1453
|
+
},
|
|
1454
|
+
"start": {
|
|
1455
|
+
"type": "string",
|
|
1456
|
+
"description": "Start date (RFC3339 or YYYY-MM-DD)"
|
|
1457
|
+
},
|
|
1458
|
+
"end": {
|
|
1459
|
+
"type": "string",
|
|
1460
|
+
"description": "End date (RFC3339 or YYYY-MM-DD)"
|
|
1461
|
+
},
|
|
1462
|
+
"limit": {
|
|
1463
|
+
"type": "integer",
|
|
1464
|
+
"description": "Number of articles (default 10, max 50)"
|
|
1465
|
+
},
|
|
1466
|
+
"page_token": {
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"description": "Pagination token from previous response"
|
|
1469
|
+
},
|
|
1470
|
+
"sort": {
|
|
1471
|
+
"type": "string",
|
|
1472
|
+
"description": "Sort order: ASC, DESC",
|
|
1473
|
+
"enum": [
|
|
1474
|
+
"ASC",
|
|
1475
|
+
"DESC"
|
|
1476
|
+
]
|
|
1477
|
+
},
|
|
1478
|
+
"include_content": {
|
|
1479
|
+
"type": "boolean",
|
|
1480
|
+
"description": "Include full article content"
|
|
1481
|
+
},
|
|
1482
|
+
"exclude_contentless": {
|
|
1483
|
+
"type": "boolean",
|
|
1484
|
+
"description": "Exclude articles without content"
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "forex_rates",
|
|
1491
|
+
"description": "Get historical exchange rates for currency pairs (e.g., EUR/USD, GBP/USD).",
|
|
1492
|
+
"method": "GET",
|
|
1493
|
+
"path": "/forex-rates",
|
|
1494
|
+
"input_schema": {
|
|
1495
|
+
"type": "object",
|
|
1496
|
+
"properties": {
|
|
1497
|
+
"currency_pairs": {
|
|
1498
|
+
"type": "string",
|
|
1499
|
+
"description": "Comma-separated currency pairs (e.g., EUR/USD,GBP/USD)"
|
|
1500
|
+
},
|
|
1501
|
+
"timeframe": {
|
|
1502
|
+
"type": "string",
|
|
1503
|
+
"description": "Rate timeframe: 1Min, 5Min, 15Min, 1H, 1D"
|
|
1504
|
+
},
|
|
1505
|
+
"start": {
|
|
1506
|
+
"type": "string",
|
|
1507
|
+
"description": "Start time (RFC3339 or YYYY-MM-DD)"
|
|
1508
|
+
},
|
|
1509
|
+
"end": {
|
|
1510
|
+
"type": "string",
|
|
1511
|
+
"description": "End time (RFC3339 or YYYY-MM-DD)"
|
|
1512
|
+
},
|
|
1513
|
+
"limit": {
|
|
1514
|
+
"type": "integer",
|
|
1515
|
+
"description": "Max results"
|
|
1516
|
+
},
|
|
1517
|
+
"page_token": {
|
|
1518
|
+
"type": "string",
|
|
1519
|
+
"description": "Pagination token"
|
|
1520
|
+
},
|
|
1521
|
+
"sort": {
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"description": "Sort: asc, desc",
|
|
1524
|
+
"enum": [
|
|
1525
|
+
"asc",
|
|
1526
|
+
"desc"
|
|
1527
|
+
]
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"required": [
|
|
1531
|
+
"currency_pairs"
|
|
1532
|
+
]
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "forex_latest_rates",
|
|
1537
|
+
"description": "Get the latest exchange rates for currency pairs.",
|
|
1538
|
+
"method": "GET",
|
|
1539
|
+
"path": "/forex-latest-rates",
|
|
1540
|
+
"input_schema": {
|
|
1541
|
+
"type": "object",
|
|
1542
|
+
"properties": {
|
|
1543
|
+
"currency_pairs": {
|
|
1544
|
+
"type": "string",
|
|
1545
|
+
"description": "Comma-separated currency pairs (e.g., EUR/USD,GBP/USD,JPY/USD)"
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
"required": [
|
|
1549
|
+
"currency_pairs"
|
|
1550
|
+
]
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
]
|
|
1554
|
+
}
|