{"uid":"cap_Pvyn3m9GBW01Ufi9wIT_J","slug":"nasa-media-library-asset-file-urls-236d3168","name":"NASA Media Library – Asset File URLs","description":"List the file URLs for a NASA library item by nasa_id: original, large, medium, small, thumbnail, captions, metadata.","url":"https://nasa-media.x402tookit.com/nasa-asset?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["nasa_id"],"properties":{"nasa_id":{"type":"string","description":"NASA library id such as as11-40-5874 (from /nasa-search), up to 120 characters"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"files":{"type":["array","null"],"items":{"type":"object","properties":{"url":{"type":["null","string"]},"role":{"type":["null","string"]},"format":{"type":["null","string"]}}}},"byRole":{"type":["null","object"],"properties":{"large":{"type":["null","number"]},"small":{"type":["null","number"]},"thumb":{"type":["null","number"]},"medium":{"type":["null","number"]},"metadata":{"type":["null","number"]},"original":{"type":["null","number"]}}},"nasaId":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"fileCount":{"type":["null","number"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"rightsNote":{"type":["null","string"]},"bestDownload":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UCiYLYAE0Y4Mq9LL2YHmU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all file URLs (original, large, medium, small, thumbnail, captions, metadata) for a specific NASA media library item by its nasa_id.","exampleAgentPrompt":"Can you get me all the file URLs for NASA library item as11-40-5874, including the original, thumbnail, and any captions or metadata files?","exampleUseCases":[{"title":"Download Apollo Moon Landing Photo","prompt":"I have the NASA ID as11-40-5874 for that famous Apollo 11 moonwalk photo — can you get me all the available file URLs so I can grab the original high-res version?"},{"title":"Embed NASA Thumbnail in Article","prompt":"I need the thumbnail and medium-sized image URLs for NASA asset PIA12235 so I can embed them in a web article I'm writing."},{"title":"Retrieve Captions for NASA Video","prompt":"Can you fetch all the file links for NASA library item GSFC_20171208_Archive_e001465, especially the captions file so I can add subtitles to the video?"}],"resultDescription":"Returns a list of file objects each with a URL, role (original, large, medium, small, thumb, metadata, captions), and format. Also includes the best download URL, total file count, a breakdown of files by role, the source URL, a rights note, disclaimer, and optional summary/verdict about asset availability. May indicate if the response is degraded or if some checks were skipped.","failureModes":["Invalid or unknown nasa_id returns empty files array or error","NASA upstream API unavailable causes degraded flag to be true","nasa_id exceeds 120 characters causes input validation failure","Item exists but has no associated files returns fileCount of 0","Captions or metadata files absent for some media types (e.g. images may lack captions)"],"whenToPreferThis":"Use this endpoint when you already have a specific NASA asset ID (nasa_id) and need to resolve its actual downloadable file URLs across all available sizes and formats. This is the right choice after a search step that returned a nasa_id, when you need the original, large, medium, small, thumbnail, captions, or metadata file links. Prefer this over the metadata endpoint when you need file download links rather than EXIF-style descriptive metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:30:33.553Z","isFirstParty":false,"canonicalSlug":"nasa-media-library-asset-file-urls-236d3168"}