Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Growaify Autonomous Agent Commerce Buy API
version: 2.3.0
description: 'Autonomous agent commerce API. Everything under /x402 is sold for USDC on Base over x402: unpaid requests answer HTTP 402 and the deliverable ships in the paid response. Everything else is free to read.'
servers:
- url: https://growaify.com
description: Production Engine
tags:
- name: Buy
paths:
/buy:
get:
summary: Start checkout for a store SKU
description: Creates a PayPal order for the sku query parameter and 302-redirects to approval. GET is kept for machine buyers following catalog links; browsers should use POST — a checkout is a state change.
parameters:
- name: sku
in: query
required: true
schema:
type: string
responses:
'302':
description: redirect to PayPal approval
'303':
description: redirect to /store/ when no sku
'400':
description: unknown sku
'503':
description: checkout not configured
tags:
- Buy
operationId: getBuy
x-operation-id-source: derived
post:
summary: Start checkout for a store SKU (browser form)
description: Same purchase flow as GET, taking sku (or tpl) as a form field. This is the method every buy button on the site uses.
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
required:
- sku
properties:
sku:
type: string
responses:
'302':
description: redirect to PayPal approval
'303':
description: redirect to /store/ when no sku
'400':
description: unknown sku
'503':
description: checkout not configured
tags:
- Buy
operationId: postBuy
x-operation-id-source: derived
x-discovery:
x402: https://growaify.com/.well-known/x402
catalogue: https://growaify.com/api/v1/x402/resources
micro: https://growaify.com/api/v1/x402/micro
mcp: https://growaify.com/mcp
agentCard: https://growaify.com/.well-known/agent-card.json
llms: https://growaify.com/llms.txt
erc8004: https://growaify.com/.well-known/agent-registration.json
did: did:web:growaify.com
attestations: https://growaify.com/api/v1/attest/summary
agentTest: https://growaify.com/api/v1/agent-test/register
funnel: https://growaify.com/api/v1/x402/funnel
cohorts: https://growaify.com/api/v1/live/cohorts
research: https://growaify.com/api/v1/research/agent-commerce.json