Skip to main content

Get DID Information

This endpoint allows you to fetch detailed information about a specific DID (Decentralized Identifier).

Endpoint

GET https://api.spacescan.io/did/info/{did}

Parameters

ParameterTypeDescription
didstringThe Decentralized Identifier (DID)
Free API

Use api.spacescan.io for free tier access. See our API Plans for rate limits and features.

Pro API

Use pro-api.spacescan.io with your API key in the x-api-key header. See our API Plans for details.

curl -X GET "https://pro-api.spacescan.io/did/info/{did}" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Example

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringThe status of the API request
dataobjectThe main data object
data.didobjectDID information
data.did.didstringThe DID identifier
data.did.did_hexstringHexadecimal representation of the DID
data.namestringName associated with the DID
data.name_nft_idstringNFT ID associated with the name (if any)
data.name_servicestringName service information
data.expirystringExpiration date (if applicable)
data.profile_urlstringURL to the profile image
data.banner_urlstringURL to the banner image
data.flaggedbooleanWhether the DID has been flagged
data.socialobjectSocial media information
data.biostringBiography or description
data.collections_countstringNumber of NFT collections
data.created_nft_countstringNumber of NFTs created
data.owned_nft_countnumberNumber of NFTs owned