OKX Copytrading Scraper avatar

OKX Copytrading Scraper

Try for free

3 days trial then $25.00/month - No credit card required now

Go to Store
OKX Copytrading Scraper

OKX Copytrading Scraper

epctex/okx-copytrading-scraper
Try for free

3 days trial then $25.00/month - No credit card required now

Unleash the power of OKX Copy Trading Scraper! Gather and analyze top user positions on the largest copy trading platform. Optimize your coin trading with advanced filtering and sorting features. Gain valuable insights for informed decisions.

You can access the OKX Copytrading Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "eJ2yYPHtqzkyuwaBR"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/epctex~okx-copytrading-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-epctex-okx-copytrading-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/epctex~okx-copytrading-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-epctex-okx-copytrading-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/epctex~okx-copytrading-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-epctex-okx-copytrading-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "proxy"
135        ],
136        "properties": {
137          "startUrls": {
138            "title": "Start URLs",
139            "type": "array",
140            "description": "URLs to start with. Account URLs can be futures or personal trading URLs.",
141            "items": {
142              "type": "string"
143            }
144          },
145          "includeHistoricalPositions": {
146            "title": "Include historical positions",
147            "type": "boolean",
148            "description": "If you want the history of the user's open positions to be scraped as well, you can set `true`. Default setting is `false`",
149            "default": false
150          },
151          "onlyUserInformation": {
152            "title": "Only user information",
153            "type": "boolean",
154            "description": "If you want only user account information to be scraped with performance stats(both of futures and personal), you can set `true`. Default setting is `false`",
155            "default": false
156          },
157          "endPage": {
158            "title": "List end page",
159            "type": "integer",
160            "description": "The page number that you want to end with. By default there is no end page. This is applies to all search request and startUrls individually."
161          },
162          "maxItems": {
163            "title": "Maximum number of listing entries",
164            "type": "integer",
165            "description": "Maximum number of listing entries that you want as output. Default is all"
166          },
167          "searchType": {
168            "title": "Search type",
169            "enum": [
170              "overview",
171              "yieldRatio",
172              "pnl",
173              "winRatio",
174              "aum",
175              "traderFollowerLimit",
176              "followTotalPnl"
177            ],
178            "type": "string",
179            "description": "Keyword by which type you want to filter and search users in the futures section of OKX Copy Trading",
180            "default": "overview"
181          },
182          "leaderHasVacancies": {
183            "title": "Leader has vacancies",
184            "type": "boolean",
185            "description": "If you want to search users with vacancies, you can set `true`. Default setting is `false`",
186            "default": false
187          },
188          "allowApiTraders": {
189            "title": "Allow API traders",
190            "type": "boolean",
191            "description": "If you want to search API traders, you can set `true`. Default setting is `false`",
192            "default": false
193          },
194          "timeAsLeader": {
195            "title": "Time as leader",
196            "enum": [
197              "7",
198              "30",
199              "90",
200              "180"
201            ],
202            "type": "string",
203            "description": "Search by filtering by how long a leader has been a leader"
204          },
205          "winRate": {
206            "title": "Win rate",
207            "enum": [
208              "0.5",
209              "0.6",
210              "0.7",
211              "0.8",
212              "0.9"
213            ],
214            "type": "string",
215            "description": "Search by filtering by a leader's win rate"
216          },
217          "minLeaderAssets": {
218            "title": "Minimum leader assets",
219            "minimum": 0,
220            "maximum": 50000,
221            "type": "integer",
222            "description": "Search by filtering by a leader's minimum assets"
223          },
224          "maxLeaderAssets": {
225            "title": "Maximum leader assets",
226            "minimum": 0,
227            "maximum": 50000,
228            "type": "integer",
229            "description": "Search by filtering by a leader's maximum assets"
230          },
231          "minLeaderAum": {
232            "title": "Minimum leader AUM",
233            "minimum": 0,
234            "maximum": 500000,
235            "type": "integer",
236            "description": "Search by filtering by a leader's minimum AUM"
237          },
238          "maxLeaderAum": {
239            "title": "Maximum leader AUM",
240            "minimum": 0,
241            "maximum": 500000,
242            "type": "integer",
243            "description": "Search by filtering by a leader's maximum AUM"
244          },
245          "proxy": {
246            "title": "Proxy configuration",
247            "type": "object",
248            "description": "Select proxies to be used by your crawler."
249          },
250          "extendOutputFunction": {
251            "title": "Extend output function",
252            "type": "string",
253            "description": "Function that takes a JQuery handle ($) as argument and returns data that will be merged with the default output"
254          },
255          "customMapFunction": {
256            "title": "Custom map function",
257            "type": "string",
258            "description": "Function that takes each of the objects as argument and returns data that will be mapped by the function itself."
259          }
260        }
261      },
262      "runsResponseSchema": {
263        "type": "object",
264        "properties": {
265          "data": {
266            "type": "object",
267            "properties": {
268              "id": {
269                "type": "string"
270              },
271              "actId": {
272                "type": "string"
273              },
274              "userId": {
275                "type": "string"
276              },
277              "startedAt": {
278                "type": "string",
279                "format": "date-time",
280                "example": "2025-01-08T00:00:00.000Z"
281              },
282              "finishedAt": {
283                "type": "string",
284                "format": "date-time",
285                "example": "2025-01-08T00:00:00.000Z"
286              },
287              "status": {
288                "type": "string",
289                "example": "READY"
290              },
291              "meta": {
292                "type": "object",
293                "properties": {
294                  "origin": {
295                    "type": "string",
296                    "example": "API"
297                  },
298                  "userAgent": {
299                    "type": "string"
300                  }
301                }
302              },
303              "stats": {
304                "type": "object",
305                "properties": {
306                  "inputBodyLen": {
307                    "type": "integer",
308                    "example": 2000
309                  },
310                  "rebootCount": {
311                    "type": "integer",
312                    "example": 0
313                  },
314                  "restartCount": {
315                    "type": "integer",
316                    "example": 0
317                  },
318                  "resurrectCount": {
319                    "type": "integer",
320                    "example": 0
321                  },
322                  "computeUnits": {
323                    "type": "integer",
324                    "example": 0
325                  }
326                }
327              },
328              "options": {
329                "type": "object",
330                "properties": {
331                  "build": {
332                    "type": "string",
333                    "example": "latest"
334                  },
335                  "timeoutSecs": {
336                    "type": "integer",
337                    "example": 300
338                  },
339                  "memoryMbytes": {
340                    "type": "integer",
341                    "example": 1024
342                  },
343                  "diskMbytes": {
344                    "type": "integer",
345                    "example": 2048
346                  }
347                }
348              },
349              "buildId": {
350                "type": "string"
351              },
352              "defaultKeyValueStoreId": {
353                "type": "string"
354              },
355              "defaultDatasetId": {
356                "type": "string"
357              },
358              "defaultRequestQueueId": {
359                "type": "string"
360              },
361              "buildNumber": {
362                "type": "string",
363                "example": "1.0.0"
364              },
365              "containerUrl": {
366                "type": "string"
367              },
368              "usage": {
369                "type": "object",
370                "properties": {
371                  "ACTOR_COMPUTE_UNITS": {
372                    "type": "integer",
373                    "example": 0
374                  },
375                  "DATASET_READS": {
376                    "type": "integer",
377                    "example": 0
378                  },
379                  "DATASET_WRITES": {
380                    "type": "integer",
381                    "example": 0
382                  },
383                  "KEY_VALUE_STORE_READS": {
384                    "type": "integer",
385                    "example": 0
386                  },
387                  "KEY_VALUE_STORE_WRITES": {
388                    "type": "integer",
389                    "example": 1
390                  },
391                  "KEY_VALUE_STORE_LISTS": {
392                    "type": "integer",
393                    "example": 0
394                  },
395                  "REQUEST_QUEUE_READS": {
396                    "type": "integer",
397                    "example": 0
398                  },
399                  "REQUEST_QUEUE_WRITES": {
400                    "type": "integer",
401                    "example": 0
402                  },
403                  "DATA_TRANSFER_INTERNAL_GBYTES": {
404                    "type": "integer",
405                    "example": 0
406                  },
407                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
408                    "type": "integer",
409                    "example": 0
410                  },
411                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
412                    "type": "integer",
413                    "example": 0
414                  },
415                  "PROXY_SERPS": {
416                    "type": "integer",
417                    "example": 0
418                  }
419                }
420              },
421              "usageTotalUsd": {
422                "type": "number",
423                "example": 0.00005
424              },
425              "usageUsd": {
426                "type": "object",
427                "properties": {
428                  "ACTOR_COMPUTE_UNITS": {
429                    "type": "integer",
430                    "example": 0
431                  },
432                  "DATASET_READS": {
433                    "type": "integer",
434                    "example": 0
435                  },
436                  "DATASET_WRITES": {
437                    "type": "integer",
438                    "example": 0
439                  },
440                  "KEY_VALUE_STORE_READS": {
441                    "type": "integer",
442                    "example": 0
443                  },
444                  "KEY_VALUE_STORE_WRITES": {
445                    "type": "number",
446                    "example": 0.00005
447                  },
448                  "KEY_VALUE_STORE_LISTS": {
449                    "type": "integer",
450                    "example": 0
451                  },
452                  "REQUEST_QUEUE_READS": {
453                    "type": "integer",
454                    "example": 0
455                  },
456                  "REQUEST_QUEUE_WRITES": {
457                    "type": "integer",
458                    "example": 0
459                  },
460                  "DATA_TRANSFER_INTERNAL_GBYTES": {
461                    "type": "integer",
462                    "example": 0
463                  },
464                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
465                    "type": "integer",
466                    "example": 0
467                  },
468                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
469                    "type": "integer",
470                    "example": 0
471                  },
472                  "PROXY_SERPS": {
473                    "type": "integer",
474                    "example": 0
475                  }
476                }
477              }
478            }
479          }
480        }
481      }
482    }
483  }
484}

OKX Copytrading Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for OKX Copytrading Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 0 No bookmarks yet

  • >99% runs succeeded

  • Created in Jul 2024

  • Modified a day ago

Categories