{"swagger":"2.0","info":{"title":"NFT Market API","description":"Backend service for NFT market data.","version":"1.0.12"},"definitions":{"def-0":{"type":["object","null"],"additionalProperties":true,"properties":{"trait_type":{"type":"string"},"value":{"type":"string"}},"title":"trait"},"def-1":{"type":["object","null"],"properties":{"address":{"type":"string","nullable":true},"config":{"type":"string","nullable":true},"date_ingested":{"type":"string"},"profile_img_url":{"type":"string","nullable":true},"username":{"type":"string","nullable":true}},"title":"user"},"def-2":{"type":"object","properties":{"banner_image_url":{"type":"string","nullable":true},"buyer_fee_basis_points":{"type":"integer"},"chat_url":{"type":"string","nullable":true},"created_date":{"type":"string"},"date_ingested":{"type":"string","nullable":true},"date_updated":{"type":"string","nullable":true},"default_to_fiat":{"type":"boolean"},"description":{"type":"string"},"dev_buyer_fee_basis_points":{"type":"string","nullable":true},"dev_seller_fee_basis_points":{"type":"string","nullable":true},"discord_url":{"type":"string","nullable":true},"display_data":{"type":"object","properties":{"card_display_style":{"type":"string"}}},"external_url":{"type":"string","nullable":true},"featured":{"type":"boolean"},"featured_image_url":{"type":"string","nullable":true},"hidden":{"type":"boolean"},"image_url":{"type":"string","nullable":true},"instagram_username":{"type":"string","nullable":true},"is_subject_to_whitelist":{"type":"boolean"},"large_image_url":{"type":"string","nullable":true},"medium_username":{"type":"string","nullable":true},"name":{"type":"string"},"network":{"type":"string"},"num_owners":{"type":"integer","nullable":true},"only_proxied_transfers":{"type":"boolean"},"opensea_buyer_fee_basis_points":{"type":"string","nullable":true},"opensea_seller_fee_basis_points":{"type":"string","nullable":true},"payment_tokens":{"type":"array","items":{"$ref":"#/definitions/def-5"}},"payout_address":{"type":"string"},"primary_asset_contracts":{"type":"array","items":{"$ref":"#/definitions/def-3"}},"require_email":{"type":"boolean"},"safelist_request_status":{"type":"string","nullable":true},"seller_fee_basis_points":{"type":"integer"},"short_description":{"type":"string","nullable":true},"slug":{"type":"string"},"stats":{"type":"object","properties":{"floor_price":{"type":"number","nullable":true},"total_sales":{"type":"integer"},"total_volume":{"type":"number"},"average_price":{"type":"number"},"one_day_sales":{"type":"integer"},"one_day_change":{"type":"integer"},"one_day_volume":{"type":"number"},"seven_day_sales":{"type":"integer"},"seven_day_change":{"type":"integer"},"seven_day_volume":{"type":"number"},"thirty_day_sales":{"type":"integer"},"thirty_day_change":{"type":"integer"},"thirty_day_volume":{"type":"number"},"one_day_average_price":{"type":"number"},"seven_day_average_price":{"type":"number"},"thirty_day_average_price":{"type":"number"}}},"telegram_url":{"type":"string","nullable":true},"total_supply":{"type":"integer","nullable":true},"traits":{"type":"object","nullable":true,"$ref":"#/definitions/def-0"},"twitter_username":{"type":"string","nullable":true},"wiki_url":{"type":"string","nullable":true}},"title":"collection"},"def-3":{"type":"object","properties":{"address":{"type":"string"},"asset_contract_type":{"type":"string","nullable":true},"created_date":{"type":"string"},"date_ingested":{"type":"string","nullable":true},"nft_version":{"type":"string"},"opensea_version":{"type":"string","nullable":true},"owner":{"type":"integer"},"schema_name":{"type":"string"},"total_supply":{"type":"string"}},"title":"contract"},"def-4":{"type":"object","additionalProperties":true,"properties":{"animation_url":{"type":"string","nullable":true},"animation_original_url":{"type":"string","nullable":true},"asset_contract":{"$ref":"#/definitions/def-3"},"background_color":{"type":"string","nullable":true},"collection":{"$ref":"#/definitions/def-2"},"creator":{"$ref":"#/definitions/def-1"},"date_ingested":{"type":"string"},"date_updated":{"type":"string","nullable":true},"decimals":{"type":"number"},"description":{"type":"string"},"external_link":{"type":"string","nullable":true},"id":{"type":"integer"},"image_original_url":{"type":"string"},"image_preview_url":{"type":"string"},"image_thumbnail_url":{"type":"string"},"image_url":{"type":"string"},"is_nsfw":{"type":"boolean"},"is_presale":{"type":"boolean"},"large_image_url":{"type":"string"},"last_sale":{"type":"object","nullable":true,"additionalProperties":true,"properties":{}},"name":{"type":"string"},"network":{"type":"string"},"num_sales":{"type":"integer"},"offers":{"type":"array","nullable":true,"items":{"$ref":"#/definitions/def-6"}},"owners":{"type":"array","nullable":true,"items":{"$ref":"#/definitions/def-1"}},"permalink":{"type":"string","nullable":true},"supports_wyvern":{"type":"boolean"},"token_id":{"type":"string"},"token_metadata":{"type":"string"},"transfer_fee":{"type":"string"},"traits":{"type":"array","items":{"$ref":"#/definitions/def-0"}}},"title":"asset"},"def-5":{"type":"object","properties":{"address":{"type":"string"},"date_ingested":{"type":"string"},"date_updated":{"type":"string","nullable":true},"decimals":{"type":"integer"},"eth_price":{"type":"string"},"image_url":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"usd_price":{"type":"string"}},"title":"payment_token"},"def-6":{"type":"object","additionalProperties":true,"properties":{"bid_amount":{"type":"string","nullable":true},"collection_slug":{"type":"string","nullable":true},"contract_address":{"type":"string","nullable":true},"created_date":{"type":"string","nullable":true},"dev_seller_fee_basis_points":{"type":"integer"},"event_type":{"type":"string","nullable":true},"id":{"type":"integer"},"quantity":{"type":"string","nullable":true}},"title":"event"}},"paths":{"/public/nft/account_assets/{owner_address}":{"get":{"summary":"Get an NFT assets owned by an address.","description":"Used to fetch assets owned by a particular address.","tags":["nft"],"parameters":[{"type":"string","description":"The page of assets to get. Default to 0","required":false,"in":"query","name":"cursor"},{"type":"string","description":"The address to get assets from","required":true,"in":"path","name":"owner_address"}],"responses":{"200":{"description":"Default Response"}}}},"/public/nft/account_assets/{owner_address}/":{"get":{"responses":{"200":{"description":"Default Response"}}}},"/public/nft/v2/asset/{network}/{contract_address}/{token_id}":{"get":{"summary":"Get an NFT asset.","description":"Used to fetch the details of an individual asset.","tags":["nft_v2"],"parameters":[{"type":"string","description":"The contract address of the asset.","required":true,"in":"path","name":"contract_address"},{"type":"string","nullable":true,"description":"The blockchain network used.","required":true,"in":"path","name":"network"},{"type":"string","description":"The token ID of the asset.","required":true,"in":"path","name":"token_id"}],"responses":{"200":{"description":"Default Response"}}}},"/public/nft/v2/account_assets/{owner_address}":{"get":{"summary":"Get NFT assets owned by an address.","description":"Used to fetch assets owned by a particular address.","tags":["nft_v2"],"parameters":[{"type":"string","description":"For pagination","required":false,"in":"query","name":"cursor"},{"type":"string","nullable":true,"description":"The blockchain network symbol (eg ETH). Comma-separated for multiple. Omission defaults to all networks.","required":false,"in":"query","name":"network"},{"type":"string","enum":["moralis","opensea"],"nullable":true,"description":"The data provider to query.","required":false,"in":"query","name":"provider"},{"type":"string","description":"The address to get assets from","required":true,"in":"path","name":"owner_address"}],"responses":{"200":{"description":"Default Response"}}}},"/public/nft/v2/account_assets/{owner_address}/":{"get":{"responses":{"200":{"description":"Default Response"}}}},"/public/nft/v2/asset/{network}/{contract_address}/{token_id}/":{"get":{"responses":{"200":{"description":"Default Response"}}}}},"host":"api.blockchain.info/nft-market-api","schemes":["https"],"consumes":["application/json"],"produces":["application/json"]}