marketing-spend
Per-channel unit economics from spend, conversions and revenue: CPC, CPM, CPA, CAC, ROAS, ROI, conversion rate, and LTV to CAC. Ranks channels and suggests a budget shift. Pure computation over your inputs.
Offering
- Provider
- payai.agentstools.dev
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Business And Commerce
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://payai.agentstools.dev/marketing/spend- MIME type
- application/json
- First seen
- 2026-10-16T02:01:07.550Z
- Last seen
- Tags
- marketing, spend, roas, cac, unit-economics
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
}
]Observed health
- Status
- Reachable
- Latest latency
- 1337 ms
- Average latency
- 1090 ms
- HTTP status
- 405
- Last checked
- Reachability
- 100% over 11 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"body": {
"rows": [
{
"spend": 100,
"clicks": 100,
"channel": "google",
"revenue": 500,
"conversions": 10,
"impressions": 10000
},
{
"spend": 200,
"clicks": 100,
"channel": "facebook",
"revenue": 400,
"conversions": 10,
"impressions": 20000
}
]
},
"type": "http",
"method": "POST",
"bodyType": "json"
}Output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"required": [],
"properties": {
"csv": {
"type": "string",
"description": "Raw CSV or TSV text with a header row, as an alternative to rows"
},
"rows": {
"type": "array",
"items": {
"type": "object"
},
"description": "Per-channel rows with spend and any of impressions/clicks/conversions/revenue/ltv/customers"
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}