This repository was archived by the owner on Feb 18, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathgraphsense.yaml
More file actions
3007 lines (3007 loc) · 85.7 KB
/
Copy pathgraphsense.yaml
File metadata and controls
3007 lines (3007 loc) · 85.7 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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
description: GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks.
title: GraphSense API
contact:
name: Iknaio Cryptoasset Analytics GmbH
email: contact@ikna.io
version: "1.17.0"
servers:
- url: 'https://api.ikna.io'
paths:
/stats:
get:
operationId: get_statistics
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/stats'
summary: Get statistics of supported currencies
tags:
- general
/search:
get:
operationId: search
parameters:
- $ref: '#/components/parameters/currency_query'
- $ref: '#/components/parameters/search_query'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/include_sub_tx_identifiers'
- $ref: '#/components/parameters/include_labels_in_search'
- $ref: '#/components/parameters/include_actors_in_search'
- $ref: '#/components/parameters/include_txs_in_search'
- $ref: '#/components/parameters/include_addresses_in_search'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/search_result'
examples:
search_result_1Archive:
summary: search result for '1Archive'
value:
currencies:
addresses:
- 1Archive1n2C579dMsAu3iC6tWzuQJz8dN
- 1ArchiveisY6i4Hpostivemate1sVRhQ71
- 1ArchiveiskxdThieferHRHi1592TqsV4c
currency: btc
txs: []
labels: []
search_result_04d9200:
summary: search result for '04d9200'
value:
currencies:
addresses: []
currency: btc
txs:
- 04d920038d78be339694fe28116789dc49509cc9f47724d4ebcf574261caee8c,
- 04d920094700443cab848544411a9a6d6628ab0d8502a796fbc70989b7991ccf
labels: []
search_result_internet:
summary: search result for 'internet'
value:
currencies:
addresses: []
currency: btc
txs: []
labels:
- Internet Archive
summary: Returns matching addresses, transactions and labels
tags:
- general
/{currency}/block_by_date/{date}:
get:
operationId: get_block_by_date
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/dateTime'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/block_at_date'
summary: Get the closest blocks given a timestamp
tags:
- blocks
/{currency}/blocks/{height}:
get:
operationId: get_block
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/height'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/block'
summary: Get a block by its height
tags:
- blocks
/{currency}/blocks/{height}/txs:
get:
operationId: list_block_txs
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/height'
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/tx'
examples:
tx_utxo_array:
$ref: '#/components/examples/txs_utxo'
tx_account_array:
$ref: '#/components/examples/txs_account'
summary: Get block transactions
tags:
- blocks
/{currency}/addresses/{address}:
get:
operationId: get_address
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/include_actors_defaulttrue'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/address'
summary: Get an address
tags:
- addresses
/{currency}/addresses/{address}/txs:
get:
operationId: list_address_txs
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/direction_txs'
- $ref: '#/components/parameters/min_height'
- $ref: '#/components/parameters/max_height'
- $ref: '#/components/parameters/min_date'
- $ref: '#/components/parameters/max_date'
- $ref: '#/components/parameters/sorting_order'
- $ref: '#/components/parameters/token_currency'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
examples:
txs_internetarchive:
$ref: '#/components/examples/txs_internetarchive'
schema:
$ref: '#/components/schemas/address_txs'
summary: Get all transactions an address has been involved in
tags:
- addresses
/{currency}/addresses/{address}/tags:
get:
operationId: list_tags_by_address
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
- $ref: '#/components/parameters/include_best_cluster_tag'
responses:
"200":
description: OK
content:
application/json:
examples:
internetarchive:
$ref: '#/components/examples/internetarchive_addresses'
schema:
$ref: '#/components/schemas/address_tags'
summary: Get attribution tags for a given address
tags:
- addresses
/{currency}/addresses/{address}/tag_summary:
get:
operationId: get_tag_summary_by_address
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/include_best_cluster_tag'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/tag_summary'
summary: Get attribution tag summary for a given address
tags:
- addresses
/{currency}/addresses/{address}/neighbors:
get:
operationId: list_address_neighbors
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/direction'
- $ref: '#/components/parameters/only_address_ids'
- $ref: '#/components/parameters/include_labels'
- $ref: '#/components/parameters/include_actors_defaulttrue'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/neighbor_addresses'
summary: Get an address's neighbors in the address graph
tags:
- addresses
/{currency}/addresses/{address}/entity:
get:
operationId: get_address_entity
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/include_actors_defaulttrue'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/entity'
summary: Get the entity of an address
tags:
- addresses
/{currency}/addresses/{address}/links:
get:
operationId: list_address_links
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/neighbor'
- $ref: '#/components/parameters/min_height'
- $ref: '#/components/parameters/max_height'
- $ref: '#/components/parameters/min_date'
- $ref: '#/components/parameters/max_date'
- $ref: '#/components/parameters/sorting_order'
- $ref: '#/components/parameters/token_currency'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
examples:
links_internetarchive:
$ref: '#/components/examples/links_internetarchive'
schema:
$ref: '#/components/schemas/links'
summary: Get outgoing transactions between two addresses
tags:
- addresses
/{currency}/addresses/{address}/related_addresses:
get:
operationId: list_related_addresses
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/address'
- $ref: '#/components/parameters/address_relation_type'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/related_addresses'
summary: Get related addresses to the input address
tags:
- addresses
/{currency}/entities/{entity}:
get:
operationId: get_entity
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/entity'
- $ref: '#/components/parameters/exclude_best_address_tag'
- $ref: '#/components/parameters/include_actors'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/entity'
summary: Get an entity
tags:
- entities
/{currency}/entities/{entity}/tags:
get:
operationId: list_address_tags_by_entity
deprecated: true
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/entity'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
examples:
internetarchive:
$ref: '#/components/examples/internetarchive_entitys_addresses'
schema:
$ref: '#/components/schemas/address_tags'
summary: Get address tags for a given entity
tags:
- entities
/{currency}/entities/{entity}/neighbors:
get:
operationId: list_entity_neighbors
deprecated: true
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/entity'
- $ref: '#/components/parameters/direction'
- $ref: '#/components/parameters/only_entity_ids'
- $ref: '#/components/parameters/include_labels'
- $ref: '#/components/parameters/exclude_best_address_tag'
- $ref: '#/components/parameters/include_actors'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/neighbor_entities'
summary: Get an entity's direct neighbors
tags:
- entities
/{currency}/entities/{entity}/txs:
get:
operationId: list_entity_txs
deprecated: true
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/entity'
- $ref: '#/components/parameters/direction_txs'
- $ref: '#/components/parameters/min_height'
- $ref: '#/components/parameters/max_height'
- $ref: '#/components/parameters/min_date'
- $ref: '#/components/parameters/max_date'
- $ref: '#/components/parameters/sorting_order'
- $ref: '#/components/parameters/token_currency'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
examples:
txs_internetarchive:
$ref: '#/components/examples/entity_txs_internetarchive'
schema:
$ref: '#/components/schemas/address_txs'
summary: Get all transactions an entity has been involved in
tags:
- entities
/{currency}/entities/{entity}/links:
get:
operationId: list_entity_links
deprecated: true
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/entity'
- $ref: '#/components/parameters/entity_neighbor'
- $ref: '#/components/parameters/min_height'
- $ref: '#/components/parameters/max_height'
- $ref: '#/components/parameters/min_date'
- $ref: '#/components/parameters/max_date'
- $ref: '#/components/parameters/sorting_order'
- $ref: '#/components/parameters/token_currency'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
examples:
links_internetarchive:
$ref: '#/components/examples/links_internetarchive'
schema:
$ref: '#/components/schemas/links'
summary: Get transactions between two entities
tags:
- entities
/{currency}/entities/{entity}/addresses:
get:
operationId: list_entity_addresses
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/entity'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/entity_addresses'
summary: Get an entity's addresses
tags:
- entities
/{currency}/entities/{entity}/search:
get:
operationId: search_entity_neighbors
deprecated: true
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/entity'
- $ref: '#/components/parameters/direction'
- $ref: '#/components/parameters/search_key'
- $ref: '#/components/parameters/search_value'
- $ref: '#/components/parameters/depth'
- $ref: '#/components/parameters/breadth'
- $ref: '#/components/parameters/skip_num_addresses'
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/search_result_level1'
summary: Search deeply for matching neighbors
tags:
- entities
/{currency}/txs/{tx_hash}:
get:
operationId: get_tx
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/tx_hash'
- $ref: '#/components/parameters/include_io'
- $ref: '#/components/parameters/include_nonstandard_io'
- $ref: '#/components/parameters/include_io_index'
- $ref: '#/components/parameters/token_tx_id'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/tx'
examples:
tx_utxo:
$ref: '#/components/examples/tx_utxo'
tx_account:
$ref: '#/components/examples/tx_account'
summary: Returns details of a specific transaction identified by its hash
tags:
- txs
/{currency}/token_txs/{tx_hash}:
get:
deprecated: true
operationId: list_token_txs
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/tx_hash'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/txs_account'
examples:
txs_account:
$ref: '#/components/examples/txs_account'
summary: Returns all token transactions in a given transaction
tags:
- txs
/{currency}/txs/{tx_hash}/{io}:
get:
operationId: get_tx_io
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/tx_hash'
- $ref: '#/components/parameters/io'
- $ref: '#/components/parameters/include_nonstandard_io'
- $ref: '#/components/parameters/include_io_index'
responses:
"200":
description: OK
content:
application/json:
examples:
txs_io:
$ref: '#/components/examples/txs_io'
schema:
$ref: '#/components/schemas/tx_values'
summary: Returns input/output values of a specific transaction identified by its hash
tags:
- txs
/{currency}/txs/{tx_hash}/spent_in:
get:
operationId: get_spent_in_txs
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/tx_hash'
- $ref: '#/components/parameters/io_index'
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/tx_ref'
examples:
txs_account:
$ref: '#/components/examples/tx_refs'
summary: Returns in which other transactions, outputs from the asked transaction are spent. Think forward references in the transaction graph. This endpoint is only available for utxo like currencies.
tags:
- txs
/{currency}/txs/{tx_hash}/spending:
get:
operationId: get_spending_txs
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/tx_hash'
- $ref: '#/components/parameters/io_index'
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/tx_ref'
examples:
txs_account:
$ref: '#/components/examples/tx_refs'
summary: Returns in which other transaction's outputs the asked transaction spent. Think backwards references is the transaction graph. This endpoint is only available for utxo like currencies.
tags:
- txs
/{currency}/txs/{tx_hash}/conversions:
get:
operationId: get_tx_conversions
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/tx_hash'
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/external_conversion'
summary: Returns conversion information (swaps or bridging txs) extracted from a specific transaction
tags:
- txs
/{currency}/txs/{tx_hash}/flows:
get:
operationId: list_tx_flows
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/tx_hash'
- $ref: '#/components/parameters/strip_zero_value_txs'
- $ref: '#/components/parameters/only_token_txs'
- $ref: '#/components/parameters/token_currency'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/txs'
summary: Returns all asset flows / Internal txs and token flows within a given transaction
tags:
- txs
/{currency}/rates/{height}:
get:
operationId: get_exchange_rates
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/height'
responses:
"200":
description: OK
content:
application/json:
examples:
rates:
$ref: '#/components/examples/rates'
schema:
$ref: '#/components/schemas/rates'
summary: Returns exchange rate for a given height
tags:
- rates
/{currency}/supported_tokens:
get:
operationId: list_supported_tokens
parameters:
- $ref: '#/components/parameters/currency'
responses:
"200":
description: OK
content:
application/json:
examples:
rates:
$ref: '#/components/examples/token_configs'
schema:
$ref: '#/components/schemas/token_configs'
summary: Returns a list of supported token (sub)currencies
tags:
- tokens
/tags:
get:
operationId: list_address_tags
parameters:
- $ref: '#/components/parameters/label'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
examples:
internetarchive:
$ref: '#/components/examples/internetarchive'
schema:
$ref: '#/components/schemas/address_tags'
summary: Returns address tags associated with a given label
tags:
- tags
/tags/actors/{actor}:
get:
operationId: get_actor
parameters:
- $ref: '#/components/parameters/actor'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/actor'
summary: Returns an actor given its unique id or (unique) label
tags:
- tags
/tags/actors/{actor}/tags:
get:
operationId: get_actor_tags
parameters:
- $ref: '#/components/parameters/actor'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/pagesize'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/address_tags'
summary: Returns the address tags for a given actor
tags:
- tags
/tags/taxonomies:
get:
operationId: list_taxonomies
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/taxonomy'
summary: Returns the supported taxonomies
tags:
- tags
/tags/taxonomies/{taxonomy}/concepts:
get:
operationId: list_concepts
parameters:
- $ref: '#/components/parameters/taxonomy'
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/concept'
summary: Returns the supported concepts of a taxonomy
tags:
- tags
/tags/report-tag:
post:
operationId: report_tag
summary: Users can use this endpoint to report a missing annotation.
tags:
- tags
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/user_reported_tag"
responses:
"200":
description: Success
content:
application/json:
schema:
$ref: "#/components/schemas/user_tag_report_response"
"400":
description: Disabled or wrong input
/{currency}/bulk.csv/{operation}:
post:
operationId: bulk_csv
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/operation'
- $ref: '#/components/parameters/num_pages'
requestBody:
required: true
content:
application/json:
schema:
type: object
example:
height: [1,2,3]
description: Map of the operation's parameter names to (arrays of) values
responses:
"200":
description: OK
content:
text/csv:
schema:
type: string
summary: Get data as CSV in bulk
tags:
- bulk
x-streamed: true
/{currency}/bulk.json/{operation}:
post:
operationId: bulk_json
parameters:
- $ref: '#/components/parameters/currency'
- $ref: '#/components/parameters/operation'
- $ref: '#/components/parameters/num_pages'
requestBody:
required: true
content:
application/json:
schema:
type: object
example:
height: [1,2,3]
description: Map of the operation's parameter names to (arrays of) values
responses:
"200":
description: OK
content:
application/json:
schema:
type: array
items:
type: object
additionalProperties: true
summary: Get data as JSON in bulk
tags:
- bulk
x-streamed: true
components:
parameters:
include_best_cluster_tag:
in: query
name: include_best_cluster_tag
required: false
schema:
type: boolean
default: false
description: If the best cluster tag should be inherited to the address level, often helpful for exchanges where not every address is tagged.
actor:
in: path
name: actor
required: true
schema:
type: string
format: string
description: actor id
example: 'binance'
currency:
in: path
name: currency
required: true
schema:
type: string
format: string
description: The cryptocurrency code (e.g., btc)
example: 'btc'
currency_query:
in: query
name: currency
required: false
schema:
type: string
format: string
description: The cryptocurrency (e.g., btc)
example: 'btc'
dateTime:
in: path
name: date
required: true
schema:
$ref: '#/components/schemas/dateTime'
description: The time of the block
example: '2017-07-21T17:32:28Z'
height:
in: path
name: height
required: true
schema:
$ref: '#/components/schemas/height'
description: The block height
example: 1
page:
in: query
name: page
required: false
schema:
type: string
description: Resumption token for retrieving the next page
example: ""
pagesize:
in: query
name: pagesize
required: false
schema:
type: integer
format: int32
minimum: 1
description: Number of items returned in a single page
example: 10
direction:
in: query
name: direction
required: true
schema:
type: string
enum: [in, out]
description: Incoming or outgoing neighbors
example: out
direction_txs:
in: query
name: direction
required: false
schema:
type: string
enum: [in, out]
description: Incoming or outgoing transactions
example: out
min_height:
in: query
name: min_height
required: false
schema:
$ref: '#/components/schemas/height'
description: Return transactions starting from given height
example: 1
max_height:
in: query
name: max_height
required: false
schema:
$ref: '#/components/schemas/height'
description: Return transactions up to (including) given height
example: 2
min_date:
in: query
name: min_date
required: false
schema:
$ref: '#/components/schemas/dateTime'
description: min date of txs
example: '2017-07-21T17:32:28Z'
max_date:
in: query
name: max_date
required: false
schema:
$ref: '#/components/schemas/dateTime'
description: max date of txs
example: '2017-07-21T17:32:28Z'
sorting_order:
in: query
name: order
required: false
schema:
type: string
enum: [asc, desc]
default: desc
description: Sorting order
example: desc
token_currency:
in: query
name: token_currency
required: false
schema:
type: string
description: Return transactions of given token or base currency
example: WETH
io:
in: path
name: io
required: true
schema:
type: string
enum: [inputs, outputs]
description: Input or outpus values of a transaction
example: outputs
address:
in: path
name: address
required: true
schema:
$ref: '#/components/schemas/address_id'
description: The cryptocurrency address
example: 1Archive1n2C579dMsAu3iC6tWzuQJz8dN
neighbor:
in: query
name: neighbor
required: true
schema:
$ref: '#/components/schemas/address_id'
description: Neighbor address
example: 1FKCzy3BEtiZDhRDtivp7Y7RVb9edg5BH7
entity_neighbor:
in: query
name: neighbor
required: true
schema:
$ref: '#/components/schemas/entity_id'
description: Neighbor entity
example: 123456
entity:
in: path
name: entity
required: true
schema:
$ref: '#/components/schemas/entity_id'
description: The entity ID
example: 67065
tx_hash:
in: path
name: tx_hash
required: true