-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yaml
More file actions
64 lines (54 loc) · 1.58 KB
/
main.yaml
File metadata and controls
64 lines (54 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
openapi: 3.1.0
info:
title: MarketDataAPI.com
version: '1'
contact:
name: API Support
email: support@marketdataapi.com
url: https://marketdataapi.com/support
license:
name: Commercial
url: https://marketdataapi.com/licensing
termsOfService: https://marketdataapi.com/terms
x-versioning:
current: '1'
latest: '1'
deprecated: []
sunset: []
supported:
- '1'
servers:
- url: https://api.marketdataapi.com/v1
description: Current stable version (v1)
variables:
version:
default: '1'
enum: ['1']
externalDocs:
description: API Documentation
url: https://www.marketdataapi.com/docs
components:
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-Key
description: |
Your API key for authentication.
**Getting an API Key:**
1. Sign up at [MarketDataAPI.com](https://dashboard.marketdataapi.com/signup)
2. Navigate to your dashboard
3. Generate a new API key
**Rate Limits by Tier:**
- Free: 100 API requests/day
- Enterprise ($100/month): 300 API requests/minute
**Caching Support:**
All GET endpoints support ETag-based caching. Use `If-None-Match` and `If-Modified-Since`
headers to implement conditional requests and reduce bandwidth usage.
paths:
/securities:
$ref: './endpoints/securities.yaml#/components/pathItems/SearchSecurities'
/securities/{identifier}:
$ref: './endpoints/securityById.yaml#/components/pathItems/SecurityByIdentifier'
security:
- apiKey: []