$ man trip-conditions-pack
/trip-conditions-pack
PRICE / CALL
$0.03
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
composeCATEGORY
uncategorized
STATUS
● live
NAME
trip-conditions-pack — briefs a trip stop for any coordinates in one call: weather, air quality, sunrise/sunset, and timezone
SYNOPSIS
POST https://x402.agentutility.ai/trip-conditions-pack
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Briefs a trip stop for any coordinates in one call: weather, air quality, sunrise/sunset, and timezone. Composite: one call runs weather-forecast + sunrise-sunset + air-quality + timezone-lookup in parallel. For a lat/lon it returns current conditions and a 1-7 day forecast, sun and twilight times, US/European AQI with pollutant readings, and IANA timezone with local time. Partial failures degrade instead of erroring. Use it as a travel conditions bundle or destination briefing.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| latitude | number | Decimal degrees, range [-90, 90]. Positive north. | required |
| longitude | number | Decimal degrees, range [-180, 180]. Positive east. | required |
| days | number | Forecast days, integer 1-7. Default 3. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| latitude | string | — |
| longitude | string | — |
| days | string | — |
| weather | string | — |
| sun_times | string | — |
| air_quality | string | — |
| timezone | string | — |
| composed_of | string | — |
| components | string | — |
| degraded | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/trip-conditions-pack \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the trip-conditions-pack tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- composetripconditionspacktrip-conditions-pack
- methods
- POST
- cluster
- compose
- price
- $0.03 USDC per call
ADJACENT — other endpoints in compose
| endpoint | description | price |
|---|---|---|
| address-intel-pack | Enriches a street address in one call: parse, geocode, timezone, and building permits. | $0.03 |
| clean-text-pack | Sanitizes raw text in one call: Unicode normalization, homoglyph audit, PII detection, and PII redaction. | $0.03 |
| contact-normalize-pack | Normalizes a contact record in one call, generating stable match keys for email, name, phone, and address plus parsed US address components. | $0.03 |
| email-trust-report | Vets an email address in one call: deliverability, disposable check, DMARC posture, and a dedupe key. | $0.03 |
| flight-brief | Reports live flight status with FAA airport delays and airport info in one call. | $0.03 |
| json-dev-pack | Converts a JSON document to TypeScript types and YAML, with optional schema validation, in one call. | $0.03 |
| onchain-identity-pack | Resolves an EVM address or name across ENS, Basenames, and known-wallet labels in one call. | $0.03 |
| regex-pack | Generates a regex from a natural-language prompt and live-tests it in one call. | $0.03 |
SEE ALSO