{"uid":"cap_knhvf-IzvHA6cYcSEY1LQ","slug":"satellite-before-after-comparison-nasa-gibs-ab76984b","name":"Satellite Before/After Comparison (NASA GIBS)","description":"86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.","url":"https://agentsvc.io/api/v1/proxy/satellite-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"bbox":{"type":"array","items":{"type":"number"},"maxItems":4,"minItems":4},"layer":{"enum":["modis_terra","modis_aqua","viirs_snpp","viirs_noaa20"],"type":"string","default":"modis_terra"},"place":{"type":"string","description":"Place name instead of coordinates, e.g. \"Valencia, Spain\" (GeoNames, cities and towns)"},"width":{"type":"integer","default":384,"maximum":768,"minimum":64,"description":"Width of each of the two images; the composite is 2 x width + 8 px"},"radius_km":{"type":"number","default":50,"maximum":500,"minimum":5},"date_after":{"type":"string","description":"YYYY-MM-DD, default yesterday"},"date_before":{"type":"string","description":"YYYY-MM-DD, default 365 days before date_after"},"include_separate":{"type":"boolean","default":false,"description":"Also return both images separately as base64"}}},"responseSchema":{"type":"json","example":{"data":{"bbox":{"max_lat":-18.2995,"max_lon":-66.6243,"min_lat":-19.2005,"min_lon":-67.5757},"note":"Daily true-color mosaics at about 250 m per pixel. Change metrics are compute...","layer":"modis_terra","width":520,"change":{"after":{"no_data_pct":0,"mean_brightness":49.8,"cloud_or_snow_pct":6.4,"cloud_haze_or_snow_pct":18.3},"before":{"no_data_pct":13,"mean_brightness":42.6,"cloud_or_snow_pct":0.5,"cloud_haze_or_snow_pct":8.6},"reading":"Visible change in part of the area (for example water level, burn scars, floo...","reliable":true,"changed_pixels_pct":20.1,"mean_brightness_change_pct":7.3},"height":264,"layout":"side_by_side: left = date_before, right = date_after, date labels on top","layer_id":"MODIS_Terra_CorrectedReflectance_TrueColor","mime_type":"image/jpeg","date_after":"2016-05-10","size_bytes":22150,"attribution":"NASA EOSDIS GIBS / Worldview","date_before":"2014-05-10","image_base64":"/9j/2wBDAAYEBAUEBAYFBQUG…"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.013","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.013/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hH8jv_ZFStroBjtuHLrQK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.013","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a side-by-side JPEG comparing NASA satellite imagery of the same location on two dates, with pixel-level change metrics and a plain-language assessment of whether changes are real or weather-related.","exampleAgentPrompt":"Show me a before-and-after satellite comparison of Maui, Hawaii — use MODIS Terra imagery with a 75 km radius, comparing August 7 2023 (after the wildfires) against August 7 2022, and tell me whether the change looks real or just cloud cover.","exampleUseCases":[{"title":"Wildfire damage assessment","prompt":"Pull up a side-by-side NASA satellite comparison of Paradise, California — I want to see what it looked like before November 8 2018 versus right after, using a 50 km radius and MODIS Terra, and tell me if the changes are real or just weather noise."},{"title":"Flood extent monitoring","prompt":"Can you compare satellite imagery of Kherson, Ukraine before and after the Nova Kakhovka dam collapse in June 2023? Use VIIRS SNPP, a 100 km radius, and show me how much of the land area visibly changed."},{"title":"Seasonal deforestation tracking","prompt":"Show me a before-and-after satellite view of the Pará state in Brazil comparing January 2022 to January 2023 — I want to see if there's been measurable deforestation and whether the change is genuine or obscured by clouds."}],"resultDescription":"Returns a composite JPEG image (2× requested width + 8 px) showing the two dates side by side with date labels overlaid, plus JSON metrics including the share of changed pixels, overall brightness change, cloud/haze/snow coverage estimates for each date, and a plain-language interpretation stating whether the detected change is likely real environmental change or attributable to atmospheric conditions like clouds or snow.","failureModes":["Requested dates may have no available imagery (NASA GIBS archive gaps, especially for VIIRS before 2012)","High cloud or snow coverage on one or both dates can make pixel-change metrics unreliable or mask real change","Place name not found in GeoNames for small or ambiguous localities — use lat/lon instead","Radius too large (>500 km) or too small (<5 km) will be rejected by schema validation","Invalid date format or date_after earlier than date_before will cause an error","MODIS resolution (~250 m/pixel) may not detect fine-scale changes in small areas"],"whenToPreferThis":"Choose this endpoint when you need a quick, visually interpretable before-and-after comparison of a geographic area using freely available NASA satellite data, especially for event-driven change detection (wildfires, floods, hurricanes, deforestation). It is ideal when you want both a shareable image and quantitative change metrics without needing commercial high-resolution imagery. Prefer it over single-image satellite endpoints when temporal comparison is the core need, and over full GIS pipelines when a lightweight, paid-per-call, no-infrastructure approach is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:31:17.154Z","isFirstParty":false,"canonicalSlug":"satellite-before-after-comparison-nasa-gibs-ab76984b"}