-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathopenapi.json
More file actions
6329 lines (6329 loc) · 220 KB
/
openapi.json
File metadata and controls
6329 lines (6329 loc) · 220 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.3",
"info": {
"title": "Sim API",
"description": "The Sim API by Dune provides real-time blockchain data across EVM and SVM chains. Access token balances, transaction history, on-chain activity, DeFi positions, NFT collectibles, token information, and webhook subscriptions through a unified REST API.",
"version": "1.0.0",
"license": {
"name": ""
},
"contact": {
"name": "Dune Support",
"url": "https://docs.sim.dune.com",
"email": "support@dune.com"
}
},
"servers": [
{
"url": "https://api.sim.dune.com"
}
],
"tags": [
{
"name": "evm",
"description": "EVM-compatible blockchain endpoints."
},
{
"name": "svm",
"description": "Solana/SVM blockchain endpoints."
},
{
"name": "activity",
"description": "On-chain activity feed."
},
{
"name": "balances",
"description": "Token balances (EVM and SVM)."
},
{
"name": "transactions",
"description": "Transaction history (EVM and SVM)."
},
{
"name": "collectibles",
"description": "NFT and ERC721/ERC1155 holdings."
},
{
"name": "defi",
"description": "DeFi protocol positions."
},
{
"name": "supported-chains",
"description": "Supported blockchain networks."
},
{
"name": "token-info",
"description": "Token metadata and pricing."
},
{
"name": "token-holders",
"description": "Token holder distribution."
},
{
"name": "subscriptions",
"description": "Webhook subscription management for real-time on-chain event notifications."
}
],
"paths": {
"/v1/evm/activity/{address}": {
"get": {
"tags": [
"evm",
"activity"
],
"summary": "Get EVM activity for a given address",
"description": "This endpoint provides a real-time feed of on-chain activity for any EVM address. Activity is returned in chronological order (newest first) and includes native token transfers, ERC20 token transfers with metadata, ERC721 (NFT) transfers with token IDs, and contract interactions with decoded function calls.",
"operationId": "getEvmActivity",
"parameters": [
{
"name": "address",
"in": "path",
"description": "Wallet address to get activity for",
"required": true,
"schema": {
"type": "string",
"format": "address",
"pattern": "^0x[a-fA-F0-9]{40}$",
"default": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
},
"example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
},
{
"name": "chain_ids",
"in": "query",
"required": false,
"description": "Filter by chain(s). Accepts numeric chain IDs and/or tags. Provide a single value (e.g. `?chain_ids=1` or `?chain_ids=mainnet`) or a comma-separated list (e.g. `?chain_ids=1,8543,testnet`). Chain names are not accepted. If this query parameter is omitted, results include activity from chains with the `default` tag. See the [Supported Chains Tags](/evm/supported-chains#tags) section.",
"schema": {
"type": "string"
}
},
{
"name": "offset",
"in": "query",
"description": "The offset to paginate through result sets. This is a cursor being passed from the previous response, only use what the backend returns here.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"description": "Maximum number of activity items to return. Default is 20 when not provided. Values above 100 are reduced to 100.",
"required": false,
"schema": {
"type": "integer",
"format": "int64",
"minimum": 1,
"maximum": 100,
"default": 20
}
},
{
"name": "token_address",
"in": "query",
"description": "Filter activities by token contract address. Provide a single address (e.g. `?token_address=0xa0b8...`) or a comma-separated list (e.g. `?token_address=0xa0b8...,0xdac1...`). Only activities involving the specified token(s) will be returned. Swap and call activities are excluded when this filter is set, as they do not have a single token address. Native transfers are also excluded since they have no token contract.",
"required": false,
"schema": {
"type": "string"
},
"example": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
},
{
"name": "activity_type",
"in": "query",
"description": "Filter activities by type. Provide a single value (e.g. `?activity_type=send`) or a comma-separated list (e.g. `?activity_type=send,receive`). Only activities matching one of the specified types will be returned.",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string",
"enum": [
"approve",
"burn",
"call",
"mint",
"receive",
"send",
"swap",
"transfer"
]
}
},
"example": [
"send",
"receive"
],
"style": "form",
"explode": false
},
{
"name": "asset_type",
"in": "query",
"description": "Filter activities by asset standard. Provide a single value (e.g. `?asset_type=native`) or a comma-separated list (e.g. `?asset_type=erc20,erc721`). Use `native` to include native token transfers (e.g. ETH). Contract call activities have no asset type and are excluded when this filter is set.",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string",
"enum": [
"native",
"erc20",
"erc721",
"erc1155"
]
}
},
"example": [
"erc20"
],
"style": "form",
"explode": false
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ActivityResponse"
},
"examples": {
"success": {
"summary": "Successful response",
"value": {
"activity": [
{
"chain_id": 8453,
"block_number": 26635101,
"block_time": "2025-02-20T13:52:29+00:00",
"tx_hash": "0x184544c8d67a0cbed0a3f04abe5f958b96635e8c743c070f70e24b1c06cd1aa6",
"type": "receive",
"asset_type": "erc20",
"token_address": "0xf92e740ad181b13a484a886ed16aa6d32d71b19a",
"from": "0xd152f549545093347a162dce210e7293f1452150",
"value": "123069652500000000000",
"value_usd": 0.14017463965013963,
"token_metadata": {
"symbol": "ENT",
"decimals": 18,
"price_usd": 0.001138986230989314,
"pool_size": 5.2274054439382835
}
}
],
"next_offset": "KgAAAAAAAAAweDQ4ZDAwNGE2YzE3NWRiMzMxZTk5YmVhZjY0NDIzYjMwOTgzNTdhZTdAVxVC-y0GAAUhAAAAAAAA6XCRAQAAAAAAAAAAAAAAAD0AAAAAAAAAAAAAAAAAAAA"
}
},
"with_warnings": {
"summary": "Response with unsupported chain IDs warning",
"value": {
"activity": [
{
"chain_id": 1,
"block_number": 18500000,
"block_time": "2025-02-20T13:52:29+00:00",
"tx_hash": "0x184544c8d67a0cbed0a3f04abe5f958b96635e8c743c070f70e24b1c06cd1aa6",
"type": "receive",
"asset_type": "erc20",
"token_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"from": "0xd152f549545093347a162dce210e7293f1452150",
"value": "1000000",
"value_usd": 1,
"token_metadata": {
"symbol": "USDC",
"decimals": 6,
"price_usd": 1
}
}
],
"warnings": [
{
"code": "UNSUPPORTED_CHAIN_IDS",
"message": "Some requested chain_ids are not supported. Activity is returned only for supported chains.",
"chain_ids": [
9999,
77777777777
],
"docs_url": "https://docs.sim.dune.com/evm/supported-chains"
}
],
"next_offset": "KgAAAAAAAAAweDQ4ZDAwNGE2YzE3NWRiMzMxZTk5YmVhZjY0NDIzYjMwOTgzNTdhZTdAVxVC-y0GAAUhAAAAAAAA6XCRAQAAAAAAAAAAAAAAAD0AAAAAAAAAAAAAAAAAAAA"
}
}
}
}
}
},
"400": {
"description": "Bad Request - Invalid address or validation error.",
"content": {
"text/plain": {
"schema": {
"type": "string"
},
"examples": {
"validationError": {
"summary": "Validation error",
"value": "Invalid address format"
}
}
}
}
},
"401": {
"description": "Unauthorized - Invalid or missing API key.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GatewayErrorResponse"
},
"examples": {
"invalidApiKey": {
"value": {
"error": "invalid API Key"
}
}
}
}
}
},
"429": {
"description": "Rate Limit Exceeded - Too many requests.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GatewayErrorResponse"
},
"examples": {
"rateLimitExceeded": {
"value": {
"error": "Too many requests. Please contact sales@dune.com to increase your limit."
}
}
}
}
}
},
"500": {
"description": "Internal Server Error.",
"content": {
"text/plain": {
"schema": {
"type": "string"
},
"examples": {
"internalError": {
"summary": "Internal server error",
"value": "Internal server error"
}
}
}
}
}
}
}
},
"/v1/evm/balances/{address}": {
"get": {
"tags": [
"evm",
"balances"
],
"summary": "Get EVM token balances for a given address",
"description": "This endpoint returns EVM token balances for an address for any token that the address has interacted with",
"operationId": "getEvmBalances",
"parameters": [
{
"name": "address",
"in": "path",
"description": "Wallet address to get balances for",
"required": true,
"schema": {
"type": "string",
"format": "address",
"pattern": "^0x[a-fA-F0-9]{40}$",
"default": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
},
{
"name": "chain_ids",
"in": "query",
"required": false,
"description": "Filter by chain(s). Accepts numeric chain IDs and/or tags. Provide a single value (e.g. `?chain_ids=1` or `?chain_ids=mainnet`) or a comma-separated list (e.g. `?chain_ids=1,8543,testnet`). Chain names are not accepted. If this query parameter is omitted, results include balances from chains with the `default` tag. See the [Supported Chains Tags](/evm/supported-chains#tags) section.",
"schema": {
"type": "string"
}
},
{
"name": "filters",
"in": "query",
"description": "Specify `erc20` or `native` to get only ERC20 tokens or native assets, respectively",
"required": false,
"schema": {
"type": "string",
"enum": [
"erc20",
"native"
]
}
},
{
"name": "asset_class",
"in": "query",
"description": "Filter by asset class. Use `stablecoin` to return only stablecoin balances. This is equivalent to using the `/stablecoins` endpoint.",
"required": false,
"schema": {
"type": "string",
"enum": [
"stablecoin"
]
}
},
{
"name": "metadata",
"in": "query",
"description": "A comma separated list of additional metadata fields to include for each token. Supported values: `logo`, `url`, `pools`",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "exclude_spam_tokens",
"in": "query",
"description": "When true, excludes tokens with less than 100 USD liquidity from the response. This differs from the `low_liquidity` field in the response.",
"required": false,
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "historical_prices",
"in": "query",
"description": "Historical price selection. Provide a single integer or a comma-separated list of up to 3 integers representing hours in the past (e.g. `168` for 1 week ago or `720,168,24` for 1 month, 1 week, and 1 day ago). When set, each balance includes a historical_prices array with one entry per offset.",
"required": false,
"schema": {
"type": "string"
},
"examples": {
"single_offset": {
"summary": "Single offset (1 week ago)",
"value": "168"
},
"three_offsets": {
"summary": "Three offsets (1 month, 1 week, 1 day ago)",
"value": "720,168,24"
}
}
},
{
"name": "offset",
"in": "query",
"description": "The offset to paginate through result sets. This is a cursor being passed from the previous response, only use what the backend returns here.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"description": "Maximum number of balances to return. Default is 1000 when not provided. Values above 1000 are reduced to 1000.",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"minimum": 1,
"maximum": 1000,
"default": 1000
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BalancesResponse"
},
"examples": {
"success": {
"value": {
"wallet_address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"balances": [
{
"chain": "ethereum",
"chain_id": 1,
"address": "0x0e36c45d16585d1801e37cfaa577a9ad39f9343a",
"amount": "45787557175393926414790300082",
"symbol": "Kendu",
"name": "Kendu of Bank",
"decimals": 18,
"price_usd": 1.233346836175539e+21,
"value_usd": 5.647193877847869e+31,
"pool_size": 1233.34683617554,
"low_liquidity": true
},
{
"chain": "ethereum",
"chain_id": 1,
"address": "0x113404d2003c4acf4231a3a62374bb503bff03d7",
"amount": "432599243131405501735524",
"symbol": "ALT",
"name": "AltLayer",
"decimals": 18,
"price_usd": 9388386012000030000,
"value_usd": 4.061408683016688e+24,
"pool_size": 9.38838601200001,
"low_liquidity": true
}
],
"next_offset": "opaque-pagination-token",
"request_time": "2025-08-13T10:31:08Z",
"response_time": "2025-08-13T10:31:08Z"
}
},
"with_warnings": {
"summary": "Response with unsupported chain IDs warning",
"value": {
"wallet_address": "0x37305b1cd40574e4c5ce33f8e8306be057fd7341",
"balances": [
{
"chain": "ethereum",
"chain_id": 1,
"address": "native",
"amount": "1000000000000000000",
"symbol": "ETH",
"decimals": 18,
"price_usd": 3896.8315,
"value_usd": 3896.8315
},
{
"chain": "optimism",
"chain_id": 10,
"address": "native",
"amount": "500000000000000000",
"symbol": "ETH",
"decimals": 18,
"price_usd": 3896.8315,
"value_usd": 1948.41575
}
],
"warnings": [
{
"code": "UNSUPPORTED_CHAIN_IDS",
"message": "Some requested chain_ids are not supported. Balances are returned only for supported chains.",
"chain_ids": [
9999,
77777777777
],
"docs_url": "https://docs.sim.dune.com/evm/supported-chains"
}
],
"request_time": "2025-12-16T10:31:08Z",
"response_time": "2025-12-16T10:31:08Z"
}
}
}
}
}
},
"400": {
"description": "Bad Request - Invalid wallet address or invalid query parameter.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceMessageErrorResponse"
},
"examples": {
"invalidAddress": {
"summary": "Invalid address format",
"value": {
"message": "Failed to parse address"
}
}
}
}
}
},
"401": {
"description": "Unauthorized - Invalid or missing API key.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GatewayErrorResponse"
},
"examples": {
"invalidApiKey": {
"value": {
"error": "invalid API Key"
}
}
}
}
}
},
"429": {
"description": "Rate Limit Exceeded - Too many requests.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GatewayErrorResponse"
},
"examples": {
"rateLimitExceeded": {
"value": {
"error": "Too many requests. Please contact sales@dune.com to increase your limit."
}
}
}
}
}
},
"500": {
"description": "Internal Server Error.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceMessageErrorResponse"
},
"examples": {
"internalError": {
"value": {
"message": "Internal server error"
}
}
}
}
}
},
"503": {
"description": "Service Unavailable - The balances service is temporarily in a retry state. Retry the request after a short delay.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceMessageErrorResponse"
},
"examples": {
"serviceUnavailable": {
"value": {
"message": "Try again later"
}
}
}
}
}
}
}
}
},
"/v1/evm/balances/{address}/token/{token_address}": {
"get": {
"tags": [
"evm",
"balances"
],
"summary": "Get a single token balance for a given address",
"description": "Returns the balance for a specific token (or native asset) for a wallet on a single specified chain. This sub-endpoint reuses the Balances response format.",
"operationId": "getEvmSingleTokenBalance",
"parameters": [
{
"name": "address",
"in": "path",
"description": "Wallet address to get the token balance for",
"required": true,
"schema": {
"type": "string",
"format": "address",
"pattern": "^0x[a-fA-F0-9]{40}$",
"default": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
},
{
"name": "token_address",
"in": "path",
"description": "Token contract address or `native` for the chain's native asset",
"required": true,
"schema": {
"type": "string",
"format": "address",
"pattern": "^0x[a-fA-F0-9]{40}$"
}
},
{
"name": "chain_ids",
"in": "query",
"required": true,
"description": "Filter by chain(s). Accepts numeric chain IDs and/or tags. Provide a single value (e.g. `?chain_ids=1`) or a comma-separated list (e.g. `?chain_ids=1,8543,testnet`). Chain names are not accepted. If omitted, results include balances from chains with the \"default\" tag for the address. See the [Supported Chains Tags](/evm/supported-chains#tags) section.",
"schema": {
"type": "string"
}
},
{
"name": "metadata",
"in": "query",
"description": "A comma separated list of additional metadata fields to include for each token. Supported values: `logo`, `url`, `pools`",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "historical_prices",
"in": "query",
"description": "Historical price selection. Provide a single integer or a comma-separated list of up to 3 integers representing hours in the past (e.g. `168` for 1 week ago or `720,168,24` for 1 month, 1 week, and 1 day ago). When set, each balance includes a historical_prices array with one entry per offset.",
"required": false,
"schema": {
"type": "string"
},
"examples": {
"single_offset": {
"summary": "Single offset (1 week ago)",
"value": "168"
},
"three_offsets": {
"summary": "Three offsets (1 month, 1 week, 1 day ago)",
"value": "720,168,24"
}
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SingleBalanceResponse"
},
"examples": {
"success": {
"value": {
"request_time": "2025-10-07T13:18:14.789152386+00:00",
"response_time": "2025-10-07T13:18:14.850098525+00:00",
"wallet_address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"balances": [
{
"chain": "ethereum",
"chain_id": 1,
"address": "0x146523e8db6337291243a63a5555f446fa6c279f",
"amount": "7156868995423049840501842481",
"symbol": "AiMeme",
"name": "Ai Meme",
"decimals": 18,
"price_usd": 129086.448055109,
"value_usd": 923854797814899,
"pool_size": 9.09741149400001,
"low_liquidity": true
}
]
}
}
}
}
}
},
"400": {
"description": "Bad Request - Invalid wallet address or invalid query parameter.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceMessageErrorResponse"
},
"examples": {
"invalidAddress": {
"summary": "Invalid address format",
"value": {
"message": "Failed to parse address"
}
}
}
}
}
},
"401": {
"description": "Unauthorized - Invalid or missing API key.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GatewayErrorResponse"
},
"examples": {
"invalidApiKey": {
"value": {
"error": "invalid API Key"
}
}
}
}
}
},
"429": {
"description": "Rate Limit Exceeded - Too many requests.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GatewayErrorResponse"
},
"examples": {
"rateLimitExceeded": {
"value": {
"error": "Too many requests. Please contact sales@dune.com to increase your limit."
}
}
}
}
}
},
"500": {
"description": "Internal Server Error.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceMessageErrorResponse"
},
"examples": {
"internalError": {
"value": {
"message": "Internal server error"
}
}
}
}
}
},
"503": {
"description": "Service Unavailable - The balances service is temporarily in a retry state. Retry the request after a short delay.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceMessageErrorResponse"
},
"examples": {
"serviceUnavailable": {
"value": {
"message": "Try again later"
}
}
}
}
}
}
}
}
},
"/v1/evm/collectibles/{address}": {
"get": {
"summary": "Get EVM Collectibles",
"description": "Retrieves a list of EVM compatible collectibles (NFTs) for a given wallet address.",
"operationId": "getEvmCollectibles",
"tags": [
"evm",
"collectibles"
],
"parameters": [
{
"name": "address",
"in": "path",
"required": true,
"description": "The wallet address to get collectibles for.",
"schema": {
"type": "string",
"format": "address",
"pattern": "^0x[a-fA-F0-9]{40}$",
"default": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
},
"example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
},
{
"name": "chain_ids",
"in": "query",
"required": false,
"description": "Filter by chain(s). Accepts numeric chain IDs and/or tags. Provide a single value (e.g. `?chain_ids=1` or `?chain_ids=mainnet`) or a comma-separated list (e.g. `?chain_ids=1,8543,testnet`). Chain names are not accepted. If this query parameter is omitted, results include collectibles from chains with the `default` tag. See the [Supported Chains Tags](/evm/supported-chains#tags) section.",
"schema": {
"type": "string"
}
},
{
"name": "offset",
"in": "query",
"required": false,
"description": "Pagination cursor. Use the `next_offset` value from the previous response to get the next page. Omit to fetch the first page.",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "Maximum entries per page for collectibles. Default is 250 when not provided. Values above 2500 are reduced to 2500. If fewer entries exist than the limit, only the available entries are returned.",
"schema": {
"type": "integer",
"format": "int32",
"minimum": 1,
"maximum": 2500,
"default": 250
}
},
{
"name": "filter_spam",
"in": "query",
"required": false,
"description": "When true, hide collectibles identified as spam. Set to false to return all collectibles, including potential spam. See the [Spam Filtering](#spam-filtering) section for more details.",
"schema": {
"type": "boolean",
"default": true
}
},
{
"name": "show_spam_scores",
"in": "query",
"required": false,
"description": "When true, include spam scoring details (`spam_score` and `explanations`) to explain filtering decisions.",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "A list of collectibles for the specified address.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CollectiblesResponse"
},
"examples": {
"success": {
"value": {
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"entries": [
{
"contract_address": "0x5d28dcf2fbbd3738c0ebe9de03eafcb4ec33015d",
"token_standard": "ERC1155",
"token_id": "1",
"chain": "ethereum",
"chain_id": 1,
"name": "Beeplfg",
"description": "Beeplfg",
"symbol": "CRAP",
"image_url": "https://api.sim.dune.com/v1/evm/collectible/image/1/0x5d28dcf2fbbd3738c0ebe9de03eafcb4ec33015d/1",
"last_sale_price": "0",
"metadata": {
"uri": "ipfs://QmcnkkMnfL7fugsyrZPEZhPGciLMoo9kwWt1cg4QHLLx3w/0",
"attributes": [
{
"key": "Color",
"value": "255, 43, 163"
},
{
"key": "Stance",
"value": "Greased"
}
]
},
"is_spam": false,
"spam_score": 0,
"explanations": [
{
"feature": "trade_volume",
"value": 518,
"feature_score": 0,
"feature_weight": 0.25
},
{
"feature": "unique_buyers",
"value": 145,
"feature_score": 0,
"feature_weight": 0.25
},
{
"feature": "unique_sellers",
"value": 167,
"feature_score": 0,
"feature_weight": 0.25
},
{
"feature": "externally_flagged",
"value": false,
"feature_score": 0,
"feature_weight": 0.25
}
],
"balance": "8",
"last_acquired": "2025-08-10T03:58:59Z"
},
{
"contract_address": "0x344299dd2af8f81246dcb7b3368c6b9b5ddad4f6",
"token_standard": "ERC1155",
"token_id": "1",
"chain": "bnb",
"chain_id": 56,
"name": "launchspx org",
"balance": "1",
"last_acquired": "2025-08-11T04:22:52Z",
"is_spam": false
},
{
"contract_address": "0x3c020f2124b84bd079985c77f93d4a750512448c",
"token_standard": "ERC721",
"token_id": "5132",
"chain": "ethereum",
"chain_id": 1,
"name": "Ethereum Puppet #5132",
"description": "Ethereum Puppet #5132",
"symbol": "PUPPET",
"image_url": "https://api.sim.dune.com/v1/evm/collectible/image/1/0x3c020f2124b84bd079985c77f93d4a750512448c/5132",
"last_sale_price": "0.00005",
"metadata": {
"uri": "https://www.ethereumpuppets.com/metadata/5132",
"attributes": [
{
"key": "Background",
"value": "Mustard"
},
{
"key": "Shirt",
"value": "Gambler"
}
]
},
"balance": "1",
"last_acquired": "2025-08-09T23:07:47Z",
"is_spam": false
},