Skip to main content

Export a snapshot to CSV

Issue a GET request to the snapshot endpoint to export a snapshot to CSV format.

GET https://admin-api.phosphor.xyz/v1/snapshots/{snapshot_id}/holders/csv?output_type=PER_TOKEN

output_type is an optional field that has an enum value of PER_TOKEN or PER_ADDRESS. The default is the PER_TOKEN CSV format.

PER_TOKEN
address,quantity,token_id
0xD068e715B67475766cBdA68Aa514589b92ff2D1c,1,7404
0xdd412468738CA63eA0F969948aBA3E35e344009F,1,7403
PER_ADDRESS
address,quantity
0xdd412468738CA63eA0F969948aBA3E35e344009F,1
0xD068e715B67475766cBdA68Aa514589b92ff2D1c,1