openapi: 3.2.0 info: title: anchor-x402 Parse API description: 18 pay-per-call x402 services for AI agents — on-chain anchoring & attestation, wallet/address security screening, Web3 data (tx & calldata decode, ENS, token prices), x402 spend accounting, content analysis, and verifiable randomness. No API keys or accounts; settle per request in USDC on Base or Solana. $0.001–$1.77 per call. version: 0.3.0 x-guidance: Pay-per-call x402 services for AI agents — no API keys or accounts. Each paid route returns HTTP 402 with x402 payment requirements; pay in USDC on Base or Solana (select routes also settle JPYC on Polygon) and retry with the payment header. Prices are $0.001–$1.77 per call. POST routes take a JSON body per each operation's requestBody schema. contact: email: hypeprinter007@gmail.com x-logo: url: https://api.anchor-x402.com/icon.png altText: anchor-x402 tags: - name: Parse paths: /v1/parse/datetime: post: summary: Parse natural-language dates into a normalized datetime operationId: parse_datetime_v1_parse_datetime_post requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DatetimeParseRequest' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/DatetimeParseResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' '402': description: Payment Required x-payment-info: price: mode: fixed currency: USD amount: '0.001000' protocols: - x402: {} tags: - Parse components: schemas: ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError DatetimeComponents: properties: year: type: integer title: Year month: type: integer title: Month day: type: integer title: Day hour: type: integer title: Hour minute: type: integer title: Minute second: type: integer title: Second weekday: type: integer maximum: 6.0 minimum: 0.0 title: Weekday day_name: type: string title: Day Name type: object required: - year - month - day - hour - minute - second - weekday - day_name title: DatetimeComponents HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError DatetimeParseRequest: properties: input: type: string maxLength: 500 minLength: 1 title: Input description: Freeform datetime string in any format. base_time: anyOf: - type: string - type: 'null' title: Base Time description: ISO 8601 reference; defaults to now UTC. timezone: type: string title: Timezone description: IANA tz name (e.g. 'America/New_York'). default: UTC type: object required: - input title: DatetimeParseRequest DatetimeParseResponse: properties: iso: type: string title: Iso unix: type: integer title: Unix timezone: type: string title: Timezone components: $ref: '#/components/schemas/DatetimeComponents' relative_seconds: type: integer title: Relative Seconds relative_human: type: string title: Relative Human confidence: type: string enum: - high - medium - low title: Confidence parsed_input: type: string title: Parsed Input type: object required: - iso - unix - timezone - components - relative_seconds - relative_human - confidence - parsed_input title: DatetimeParseResponse