-
Notifications
You must be signed in to change notification settings - Fork 5
/
gemini-crypto-public.yaml
142 lines (142 loc) · 4.55 KB
/
gemini-crypto-public.yaml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
openapi: 3.0.3
info:
title: Gemini Crypto Public API
version: 1.0.0
description: API for trading and other operations on the Gemini cryptocurrency exchange
contact:
email: [email protected]
servers:
- url: https://api.gemini.com
paths:
/v1/symbols:
get:
summary: Retrieve all available trading symbols
responses:
"200":
description: Returns a list of available symbols
content:
application/json:
schema:
type: array
items:
type: string
/v1/symbols/details/{symbol}:
get:
summary: Retrieve extra details on a specific symbol
parameters:
- in: path
name: symbol
required: true
schema:
type: string
description: Trading pair symbol
responses:
"200":
description: Returns extra details on the specified symbol
content:
application/json:
schema:
type: object
properties:
symbol:
type: string
description: Trading pair symbol
base_currency:
type: string
description: Base currency of the trading pair
quote_currency:
type: string
description: Quote currency of the trading pair
tick_size:
type: number
format: float
description: Tick size for the trading pair
quote_increment:
type: number
format: float
description: Quote increment for the trading pair
min_order_size:
type: number
format: float
description: Minimum order size for the trading pair
status:
type: string
enum: [open, suspend]
description: Status of the trading pair
/v1/network/{token}:
get:
summary: Retrieve the associated network for a requested token
parameters:
- in: path
name: token
required: true
schema:
type: string
description: Token identifier
responses:
"200":
description: Returns the associated network for the specified token
content:
application/json:
schema:
type: object
properties:
token:
type: string
description: Token identifier
network:
type: string
description: Associated network for the token
/v1/pubticker/{symbol}:
get:
summary: Retrieve recent trading activity for a symbol
parameters:
- in: path
name: symbol
required: true
schema:
type: string
description: Trading pair symbol
responses:
"200":
description: Returns information about recent trading activity for the symbol
content:
application/json:
schema:
type: object
properties:
bid:
type: number
format: float
description: Current highest bid price for the symbol
ask:
type: number
format: float
description: Current lowest ask price for the symbol
last:
type: number
format: float
description: Price of the last trade for the symbol
volume:
type: object
description: 24-hour volume for the symbol
properties:
currency:
type: string
description: Currency of the volume amount
amount:
type: number
format: float
description: 24-hour volume for
/v1/feepromos:
get:
summary: Retrieve symbols with fee promotions
responses:
"200":
description: Returns a list of symbols with active fee promotions
content:
application/json:
schema:
type: array
items:
type: string