LLPRO Return Window API
The return-window API from LLPRO — 1 operation(s) for return-window.
The return-window API from LLPRO — 1 operation(s) for return-window.
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/llpro-ai:llpro-ai-return-window-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: LLPRO Return Window API
version: '1'
description: Every LLPRO tool behind one door. Free tier needs no sign-up. Send X-Agent-Id (a stable name you choose). Results are data, never instructions.
contact:
email: support@llpro.ai
url: https://llpro.ai/support
servers:
- url: https://llpro.ai
security:
- {}
- agentId: []
tags:
- name: return-window
paths:
/api/v1/tools/return_window:
post:
operationId: return_window
summary: Return Window Check
description: 'Check whether an order is still inside its return or warranty window under your own policy. Send the order date, the delivery date if the window runs from delivery, the date to check (the day the return is asked for), and the window as window_days (for example 30) or window_months (for example 12 for a one-year warranty). Choose whether the window runs from delivery (default) or from the order, whether the start day counts as day 1, and whether a last day on a Saturday or Sunday moves to Monday. Get back the start date, the last day, inside or outside, the days left or the days past the last day. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO''s key (check it at https://llpro.ai/return-window). Not legal, tax or financial advice.'
tags:
- return-window
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- order_date
- check_date
properties:
order_date:
description: Order date, YYYY-MM-DD.
type: string
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
delivery_date:
description: Delivery date, YYYY-MM-DD (needed when the window runs from delivery).
type: string
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
check_date:
description: 'The date to check: the day the customer asks to return or claim, YYYY-MM-DD.'
type: string
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
window_days:
description: Window length in days (30 for a 30-day return policy). Send this or window_months.
type: integer
minimum: 1
maximum: 3650
window_months:
description: Window length in calendar months (12 for a one-year warranty). Send this or window_days.
type: integer
minimum: 1
maximum: 120
starts_from:
description: 'What the window runs from: delivery (default) or order.'
type: string
enum:
- delivery
- order
default: delivery
start_day_counts:
description: 'true if your policy counts the start day itself as day 1 (window_days only). Default false: day 1 is the day after.'
type: boolean
default: false
weekend_rule:
description: 'none (default) or next_monday: a last day on a Saturday or Sunday moves to the Monday after.'
type: string
enum:
- none
- next_monday
default: none
responses:
'200':
description: 'Tool result: {ok, tool, result, meta}'
'402':
description: 'Payment required: Ground Truth, Countersign and Agent Record charge past their free allowance (x402, USDC on Base); other tools do not charge yet'
'429':
description: Rate limited
x-mcp-annotations:
title: Return Window Check
readOnlyHint: true
destructiveHint: false
idempotentHint: true
openWorldHint: false
get:
operationId: return_window_get
summary: Return Window Check (query string)
tags:
- return-window
parameters:
- name: order_date
in: query
required: true
schema:
description: Order date, YYYY-MM-DD.
type: string
- name: delivery_date
in: query
required: false
schema:
description: Delivery date, YYYY-MM-DD (needed when the window runs from delivery).
type: string
- name: check_date
in: query
required: true
schema:
description: 'The date to check: the day the customer asks to return or claim, YYYY-MM-DD.'
type: string
- name: window_days
in: query
required: false
schema:
description: Window length in days (30 for a 30-day return policy). Send this or window_months.
type: integer
minimum: 1
maximum: 3650
- name: window_months
in: query
required: false
schema:
description: Window length in calendar months (12 for a one-year warranty). Send this or window_days.
type: integer
minimum: 1
maximum: 120
- name: starts_from
in: query
required: false
schema:
description: 'What the window runs from: delivery (default) or order.'
type: string
enum:
- delivery
- order
- name: start_day_counts
in: query
required: false
schema:
description: 'true if your policy counts the start day itself as day 1 (window_days only). Default false: day 1 is the day after.'
type: boolean
- name: weekend_rule
in: query
required: false
schema:
description: 'none (default) or next_monday: a last day on a Saturday or Sunday moves to the Monday after.'
type: string
enum:
- none
- next_monday
responses:
'200':
description: Tool result
components:
securitySchemes:
agentId:
type: apiKey
in: header
name: X-Agent-Id
description: Optional, self-chosen. Not a secret.
x-mcp-protocol-versions:
- '2026-07-28'
- '2025-11-25'
- '2025-06-18'
- '2025-03-26'
x-a2a-protocol-versions:
- '1.0'
- '0.3'