timzinin-com Afad Earthquake Operations Router API
The Afad Earthquake Operations Router API from timzinin-com — 1 operation(s) for afad earthquake operations router.
The Afad Earthquake Operations Router API from timzinin-com — 1 operation(s) for afad earthquake operations router.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/timzinin-com:timzinin-com-afad-earthquake-operations-router-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Zinin M2M Hub Afad Earthquake Operations Router API
description: Pay-per-call data & tool APIs
version: 1.0.0
x-guidance: 'Zinin M2M Hub — pay-per-call data & tool APIs for AI agents. Each POST /api/{slug} operation below is a distinct paid tool: call GET /api/{slug}/schema first for the exact input shape, then POST with a signed PAYMENT-SIGNATURE header (x402 v2, USDC — see x-payment-info per operation) or omit it to receive a 402 with full payment requirements in the PAYMENT-REQUIRED header. The same catalog is also available as MCP JSON-RPC tool bundles at POST /mcp/{bundle} — see GET /.well-known/x402 for the list of bundles.'
tags:
- name: Afad Earthquake Operations Router
paths:
/api/afad-earthquake-operations-router:
post:
summary: AFAD Earthquake Operations Router
description: Turn official AFAD events into distance-based asset and route actions. Unofficial, independent Actor; not affiliated with or endorsed by any named source publisher.
operationId: call_afad_earthquake_operations_router
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.020000'
protocols:
- x402: {}
network: eip155:8453
payTo: '0x409D32aD39C02BC9B23a8b2d447532ed801b12dE'
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
requestBody:
required: true
content:
application/json:
schema:
$schema: http://json-schema.org/draft-07/schema#
schemaVersion: 1
title: AFAD Earthquake Operations Router input
description: Maps the official AFAD last-100 event list to customer-owned operational assets or route waypoints. It is not a structural-safety or earthquake-prediction product.
type: object
additionalProperties: false
properties:
requestId:
title: Request ID
description: Unique non-PII idempotency ID. Reusing it with changed inputs fails.
type: string
pattern: ^[A-Za-z0-9_-]{8,64}$
minLength: 8
maxLength: 64
editor: textfield
assets:
title: Assets and route waypoints
description: One to 100 customer-owned operational points. Use opaque non-PII asset IDs.
type: array
minItems: 1
maxItems: 100
editor: json
items:
type: object
additionalProperties: false
properties:
assetId:
title: Asset ID
description: Opaque non-PII customer identity.
type: string
pattern: ^[A-Za-z0-9_-]+$
minLength: 1
maxLength: 64
assetType:
title: Asset type
description: Determines whether the reroute action can apply.
type: string
enum:
- site
- warehouse
- store
- route_waypoint
latitude:
title: Latitude
description: WGS84 coordinate in the Turkey/nearby operating envelope.
type: number
minimum: 34
maximum: 43
longitude:
title: Longitude
description: WGS84 coordinate in the Turkey/nearby operating envelope.
type: number
minimum: 24
maximum: 46
required:
- assetId
- assetType
- latitude
- longitude
default:
- assetId: warehouse_ankara_01
assetType: warehouse
latitude: 39.9334
longitude: 32.8597
minimumMagnitude:
title: Minimum event magnitude
description: Events below this AFAD magnitude are ignored.
type: number
minimum: 0
maximum: 10
default: 2.5
editor: number
maximumDepthKm:
title: Maximum event depth (km)
description: Events deeper than this are ignored.
type: number
minimum: 0
maximum: 800
default: 100
editor: number
alertRadiusKm:
title: Alert radius (km)
description: Only event–asset pairs within this straight-line distance can become alerts.
type: number
minimum: 1
maximum: 1000
default: 100
editor: number
inspectMagnitude:
title: Inspect threshold
description: At or above this magnitude a matching site receives inspect_asset_and_review.
type: number
minimum: 0
maximum: 10
default: 3.5
editor: number
pauseDispatchMagnitude:
title: Pause-dispatch threshold
description: At or above this magnitude a matching non-route asset receives pause_dispatch_and_review.
type: number
minimum: 0
maximum: 10
default: 5
editor: number
rerouteMagnitude:
title: Route-review threshold
description: At or above this magnitude a matching route waypoint receives reroute_for_review.
type: number
minimum: 0
maximum: 10
default: 4
editor: number
maximumEventAgeHours:
title: Maximum event age (hours)
description: Ignores older rows even if they remain in the last-100 list.
type: integer
minimum: 1
maximum: 168
default: 24
editor: number
maxAlerts:
title: Maximum alerts
description: Returns the highest-priority matching event–asset pairs, up to this limit.
type: integer
minimum: 1
maximum: 100
default: 20
editor: number
maxTotalChargeUsd:
title: Customer charge cap
description: Hard run cap checked before any alert claim or paid delivery.
type: number
minimum: 0.005
maximum: 100
default: 2.01
editor: number
required:
- requestId
- assets
- minimumMagnitude
- maximumDepthKm
- alertRadiusKm
- inspectMagnitude
- pauseDispatchMagnitude
- rerouteMagnitude
- maximumEventAgeHours
- maxAlerts
- maxTotalChargeUsd
responses:
'200':
description: Actor run succeeded and payment settled
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
description: Actor output items — shape is actor-specific (varies per tool); see this operation's own requestBody schema/description for what the underlying actor produces.
meta:
type: object
properties:
run_ms:
type: integer
description: Actor run duration in milliseconds
item_count:
type: integer
description: len(results)
settled:
type: boolean
description: Whether the x402 payment was confirmed settled by the facilitator
transaction:
type:
- string
- 'null'
description: On-chain settlement transaction hash, null if unsettled
required:
- run_ms
- item_count
- settled
- transaction
required:
- results
- meta
'400':
description: Malformed PAYMENT-SIGNATURE header or request body
'402':
description: Payment required or invalid — see PAYMENT-REQUIRED header
'409':
description: Payment payload already used
'502':
description: Actor run failed
'504':
description: Actor run timed out
tags:
- Afad Earthquake Operations Router