{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"94910360-7029-4320-8dfe-1c9e85e5ccfc","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"blockscout","dataPlatformLogoUrl":"https://www.blockscout.com/favicon/apple-touch-icon-180x180.png","dataPlatformTranslations":{"ar":"blockscout","ja":"blockscout","zh":"blockscout"},"dataProduct":"explorer-rest","description":"Look up Blockscout NFT media type via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as Set, and retrieve structured data including structured JSON records, identifiers, and response metadata for nft renderers, and media inspection tools, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استعلم عن نوع وسائط عنصر NFT عبر OpenAny REST بتحديد السلسلة وعقد الرمز ومعرفه، لمساعدة التطبيق على اختيار طريقة عرض الوسائط المرتبطة. استخدم البيانات في واجهات المستكشف أو أدوات فحص السلسلة، مع الاحتفاظ بمعرفات السلسلة والموارد عند دمج النتائج، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST にチェーン、トークンコントラクト、トークン ID を渡し、NFT メディアの種別を照会して表示方法の選択に利用できます。 返されたデータをエクスプローラー画面やチェーン調査ツールで利用できます。結果を結合する際はチェーンとリソースの識別子を保持し、詳細ページのリクエスト例、対応入力、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 使用链、代币合约与 token ID 查询一个 NFT 实例的媒体类型，帮助应用选择引用媒体的展示方式。 可将返回数据用于浏览器界面或链上调查工具，合并结果时保留链与资源标识符；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"8ff5b968-02ff-488c-bf3e-942b3b99bcc3","includedContentHtml":"","inputs":[{"description":"Address hash in the path","location":"path","name":"address_hash_param","nullable":false,"required":true,"type":"string"},{"description":"Token ID for ERC-721/1155/404 tokens","location":"path","name":"token_id_param","nullable":false,"required":true,"type":"string"},{"description":"The ID of the blockchain","location":"path","name":"chain_id","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://www.blockscout.com/favicon/apple-touch-icon-180x180.png","method":"GET","name":"Blockscout — Fetch media type for a specific NFT instance","nameTranslations":{"ar":"Blockscout — جلب نوع الوسائط لمثيل NFT محدد","ja":"Blockscout — 特定の NFT インスタンスのメディアタイプを取得","zh":"Blockscout — 获取特定 NFT 实例的媒体类型"},"overviewHtml":"\u003ch2\u003eBlockscout NFT Media Type API\u003c/h2\u003e\n\u003cp\u003ePass chain_id, address_hash_param and token_id_param to the media-type route. It focuses on media-type lookup for one instance; use the NFT details route for metadata and owner context.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003epath: address_hash_param, token_id_param, chain_id\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockscout · Blockscout — Fetch media type for a specific NFT instance\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eNFT renderers\u003c/strong\u003e: Choose presentation behavior for a known instance.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eMedia inspection tools\u003c/strong\u003e: Inspect media-type information separately from full NFT details.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eResponse Scope\u003c/h2\u003e\n\u003cp\u003eThe response concerns the media type of the selected NFT instance. Handle missing or unrecognized type information in the renderer instead of assuming an image.\u003c/p\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eSet the path variables shown in the URL to your target values; URL-encode each path segment before calling.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  \u0026#34;https://api.openany.si/v1/agent-apis/blockscout/${CHAIN_ID_URI:?Set CHAIN_ID_URI}/api/v2/tokens/${ADDRESS_HASH_PARAM_URI:?Set ADDRESS_HASH_PARAM_URI}/instances/${TOKEN_ID_PARAM_URI:?Set TOKEN_ID_PARAM_URI}/media-type\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a schema template, not a captured response. Set the named path variables for your target chain and resource before using the request template; read actual returned values and optional fields from the result.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/8ff5b968-02ff-488c-bf3e-942b3b99bcc3\"\u003ePublished Blockscout NFT Media Type API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eDoes token_id_param identify the token contract?\u003c/h3\u003e\n\u003cp\u003eNo. The contract address and instance token ID are separate path inputs.\u003c/p\u003e\n\u003ch3\u003eDoes this return or transcode a media file?\u003c/h3\u003e\n\u003cp\u003eThe operation is a media-type lookup, not a media conversion or file-download operation.\u003c/p\u003e\n\u003ch3\u003eCan I retrieve NFT metadata here?\u003c/h3\u003e\n\u003cp\u003eUse NFT Instance Details for metadata and ownership context.\u003c/p\u003e\n\u003ch3\u003eDoes this route list every NFT in a collection?\u003c/h3\u003e\n\u003cp\u003eNo. It identifies one NFT instance with its contract and token ID.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-retrieve-detailed-information-about-a-specific-nft-blockscout\"\u003eBlockscout — Retrieve detailed information about a specific NFT\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-audit-reports-list\"\u003eBlockscout — Audit reports list\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-batch-by-celestia-blob\"\u003eBlockscout — Batch by celestia blob.\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockscout/blockscout-fetch-media-type-for-a-specific-nft-instance?offering=8ff5b968-02ff-488c-bf3e-942b3b99bcc3","providerId":"blockscout","publicPath":"/v1/agent-apis/blockscout/{chain_id}/api/v2/tokens/{address_hash_param}/instances/{token_id_param}/media-type","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Schema template · Schema template (not executed)","request":{"body":null,"headers":{},"path":{"address_hash_param":"\u003caddress_hash_param\u003e","chain_id":"\u003cchain_id\u003e","token_id_param":"\u003ctoken_id_param\u003e"},"query":{}},"response_body":{}}],"seoDescription":"Look up Blockscout NFT media type via REST or MCP powered by Blockscout. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:49:15.705Z","usageInstructionsHtml":""}}