{"uid":"cap_4gTIFukWgbUOjTvFUDyaz","slug":"foundry-earthquake-incident-comparison-0f060a51","name":"Foundry Earthquake Incident Comparison","description":"Pay-per-request evidence and data tools: CSV validation and reconciliation, DNS/email configuration evidence, and bounded official weather, earthquake, vehicle, company and study records. Exact USDC prices, explicit JSON contracts and source provenance. No mailbox, ownership, medical or safety guarantees.","url":"https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/earthquake-incident-comparison","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^[a-zA-Z0-9]{1,40}$"},"previous":{"type":"object","required":["magnitude","coordinates","status","eventTime"],"properties":{"status":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"eventTime":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"magnitude":{"anyOf":[{"type":"number","maximum":15,"minimum":-10},{"type":"null"}]},"coordinates":{"anyOf":[{"type":"array","items":false,"maxItems":3,"minItems":3,"prefixItems":[{"type":"number","maximum":180,"minimum":-180},{"type":"number","maximum":90,"minimum":-90},{"type":"number","maximum":1000,"minimum":-100}]},{"type":"null"}]}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"route":"earthquake-incident-comparison","result":{"current":{"status":null,"eventTime":null,"magnitude":null,"coordinates":null},"event_id":"illustrative","evidence":{"query":{"event_id":"us7000m9g4"},"source":"USGS Earthquake Catalog","freshness":{"state":"CURRENT_RETRIEVAL","retrievedAt":"2026-09-06T00:00:00Z","cacheAgeSeconds":0,"maximumCacheSeconds":30,"recordAgeIsNotRetrievalAge":true},"sourceUrl":"https://earthquake.usgs.gov","observedAt":"2026-09-06T00:00:00Z","provenance":{"license":"US public-domain earthquake facts; no third-party media","termsUrl":"https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits","truncated":false,"attribution":"US Geological Survey and the contributing seismic network identified in each record","limitations":["Synthetic example only; identifiers and null values illustrate fields, not a live observation."],"modifications":"Selected factual fields, normalized names and bounded result count; no source ownership claimed.","upstreamCalls":1,"documentationUrl":"https://earthquake.usgs.gov/fdsnws/event/1/"},"sourceUpdatedAt":null,"normalizedResult":[{"id":"illustrative-record","place":null,"status":null,"network":null,"eventTime":null,"magnitude":null,"sourceUrl":null,"updatedAt":null,"coordinates":null}],"sourceProcessedAt":null,"rawSourceIdentifiers":[]},"observedAt":"2026-09-06T00:00:00Z","comparisons":[{"field":"magnitude","status":"UNKNOWN"},{"field":"coordinates","status":"UNKNOWN"},{"field":"status","status":"UNKNOWN"},{"field":"eventTime","status":"UNKNOWN"}],"limitations":["Synthetic example only."]},"observed_at":"2026-09-06T00:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z2AFPib0bM_pkzlnEGUzN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares a caller-supplied earthquake record against the current USGS Catalog entry for the same event ID and returns field-level diff results with full source provenance.","exampleAgentPrompt":"I have a cached record for USGS earthquake event us7000m9g4 showing magnitude 6.2, coordinates [-118.3, 34.1, 10.0], status 'reviewed', and event time '2025-03-15T08:22:00Z' — can you compare those against the current official USGS entry and tell me which fields have changed?","exampleUseCases":[{"title":"Post-event magnitude revision check","prompt":"We stored earthquake event us7000n3j1 as magnitude 5.8 when it first came in — can you compare that against the current USGS record and tell me if the magnitude or coordinates have been officially revised since then?"},{"title":"Automated data pipeline reconciliation","prompt":"Our pipeline ingested USGS event us7000p2k7 last week with magnitude 4.1, coordinates [-122.4, 37.8, 8.5], status 'automatic', and event time '2025-06-10T14:33:00Z' — please compare all four fields against the live USGS catalog and flag any mismatches."},{"title":"Journalist fact-checking earthquake report","prompt":"I'm writing about earthquake us7000m9g4 and my notes say magnitude 7.1, status 'reviewed', and coordinates [-117.6, 35.2, 12.0] — can you verify each of those against the official USGS entry and show me which ones are correct?"}],"resultDescription":"Returns a JSON object containing the current USGS values for magnitude, coordinates, status, and eventTime alongside a per-field comparison array where each field is labeled MATCH, MISMATCH, or UNKNOWN. Includes full source provenance (USGS attribution, terms URL, license), freshness metadata (retrieval timestamp, cache age), and upstream source URL.","failureModes":["Invalid event_id format (must be alphanumeric, 1–40 chars) returns a validation error","USGS event ID not found in the catalog returns null current values with UNKNOWN comparison statuses","USGS catalog temporarily unavailable returns a service error or degraded response","Previous field values outside allowed numeric ranges (e.g. magnitude > 15) are rejected at schema validation","Stale cache (up to 30 seconds) may cause a brief lag between an upstream revision and the returned current value"],"whenToPreferThis":"Choose this endpoint when you need to verify or audit a previously stored earthquake record against the authoritative USGS Earthquake Catalog with explicit field-level diff output and full source provenance. It is purpose-built for reconciliation workflows, change detection pipelines, and fact-checking scenarios where you have a prior snapshot of a specific event ID and want to know exactly which fields have changed. Prefer this over a raw USGS lookup when you need structured comparison results rather than just raw retrieval, and over generic data-diffing tools when USGS attribution and licensing provenance are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:27.828Z","isFirstParty":false}