{"uid":"cap_g7gijuINZiCXCWFuotJhh","slug":"signalharness-nft-uri-template-expander-397f7703","name":"SignalHarness NFT URI Template Expander","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/nft_uri_template_expand/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"nft_uri_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["URI expansion does not fetch or validate content."],"service_id":"nft_uri_template_expand","evidence_scope":"caller_supplied_data","expanded_nft_uri":"{\"token_id_decimal\":\"1\",\"token_id_hex_64\":\"0000000000000000000000000000000000000000000000000000000000000001\",\"uri\":\"ipfs://example/0000000000000000000000000000000000000000000000000000000000000001\"}"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"nft_uri_template_expand","executionId":"example-execution","startedAtMs":0,"amountAtomic":"5000","resultSha256":"539229320cad7ff6767b2176ba8c0a94484bbb2c4d9113e3b5d43d39b56c8fa4","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZT72TBlx50SHDjhs7KyPo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Expands NFT URI templates by substituting variables to produce fully resolved NFT metadata URIs.","exampleAgentPrompt":"Can you expand this NFT URI template for me so I get the actual metadata URL for token 42: 'ipfs://QmExampleHash/{id}.json'?","exampleUseCases":[{"title":"Resolve NFT metadata URL for display","prompt":"I have an ERC-1155 token URI template 'https://api.example.com/token/{id}/metadata.json' and I need to expand it for token ID 137 so I can fetch the NFT's metadata."},{"title":"Validate NFT URI template expansion","prompt":"Can you expand this NFT URI template 'ipfs://QmAbcXyz/{id}' with token ID 5 and tell me if there are any warnings about the result?"},{"title":"Batch NFT marketplace URI preparation","prompt":"I'm building an NFT marketplace and need to turn this raw token URI template 'https://nftstorage.example.com/collection/{id}.json' into an actual URL for token number 99 — can you expand it?"}],"resultDescription":"Returns the fully expanded NFT URI string with all template variables substituted, along with any warnings about the expansion, the service ID, and an evidence scope indicator confirming the data came from caller-supplied input. Also includes a full execution receipt with payment details, request and execution IDs, latency, and a SHA-256 hash of the result for verification.","failureModes":["Invalid or malformed URI template string returns an error","Template variables that cannot be resolved may generate warnings in the response","Input string exceeding 65536 characters is rejected","Input shorter than 2 characters is rejected","Malformed JSON in the request body returns a parse error","Network or service unavailability returns a non-200 response"],"whenToPreferThis":"Choose this endpoint when you need to programmatically resolve NFT URI templates into concrete, usable metadata URLs — especially for ERC-721 or ERC-1155 tokens where the URI contains placeholder variables like {id}. It is ideal for NFT marketplaces, wallets, or indexers that need to resolve token metadata URIs on the fly. At $0.005 USDC per call it is cost-effective for per-token resolution needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:02:44.546Z","isFirstParty":false}