x402stock SMA Indicator is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-08).
Returns Simple Moving Average (SMA) values for a given stock ticker over a configurable timespan, window, and price series type.
Pay-per-call market and economic data API for AI agents: US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities, US and global macro (Fed, CPI, jobs, GDP, Treasury, World Bank), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 on Base.
A JSON object containing the ticker symbol, indicator name ('sma'), a count of returned values, an array of timestamp/value pairs representing historical SMA readings, the data source ('x402stock'), and an as-of timestamp.
GEThttps://x402stock.xyz/api/v1/indicators/sma/%7Bticker%7DUse this endpoint when you need Simple Moving Average technical indicator data for US stocks or ETFs without setting up an API key or subscription. It is ideal for AI agents doing technical analysis, trend detection, or signal generation on a pay-per-call basis using USDC on Base.
{
"input": {
"type": "http",
"method": "GET",
"pathParams": {
"ticker": "AAPL"
},
"queryParams": {
"limit": 30,
"window": 50,
"adjusted": true,
"timespan": "day",
"series_type": "close"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"data": {
"count": 30,
"values": [
{
"value": 288.73999999999995,
"timestamp": "2026-06-18T04:00:00.000Z"
},
{
"value": 287.95779999999996,
"timestamp": "2026-06-17T04:00:00.000Z"
},
{
"value": 287.1087999999999,
"timestamp": "2026-06-16T04:00:00.000Z"
},
{
"value": 286.30119999999994,
"timestamp": "2026-06-15T04:00:00.000Z"
},
{
"value": 285.49119999999994,
"timestamp": "2026-06-12T04:00:00.000Z"
},
{
"value": 284.78119999999996,
"timestamp": "2026-06-11T04:00:00.000Z"
},
{
"value": 283.9444,
"timestamp": "2026-06-10T04:00:00.000Z"
},
{
"value": 283.0454,
"timestamp": "2026-06-09T04:00:00.000Z"
},
{
"value": 282.2104,
"timestamp": "2026-06-08T04:00:00.000Z"
},
{
"value": 281.2373999999999,
"timestamp": "2026-06-05T04:00:00.000Z"
},
{
"value": 280.143,
"timestamp": "2026-06-04T04:00:00.000Z"
},
{
"value": 278.9512,
"timestamp": "2026-06-03T04:00:00.000Z"
},
{
"value": 277.77579999999995,
"timestamp": "2026-06-02T04:00:00.000Z"
},
{
"value": 276.43159999999995,
"timestamp": "2026-06-01T04:00:00.000Z"
},
{
"value": 275.2845999999999,
"timestamp": "2026-05-29T04:00:00.000Z"
},
{
"value": 274.0421999999999,
"timestamp": "2026-05-28T04:00:00.000Z"
},
{
"value": 272.87659999999994,
"timestamp": "2026-05-27T04:00:00.000Z"
},
{
"value": 271.7159999999999,
"timestamp": "2026-05-26T04:00:00.000Z"
},
{
"value": 270.55179999999996,
"timestamp": "2026-05-22T04:00:00.000Z"
},
{
"value": 269.4905999999999,
"timestamp": "2026-05-21T04:00:00.000Z"
},
{
"value": 268.6069999999999,
"timestamp": "2026-05-20T04:00:00.000Z"
},
{
"value": 267.7785999999999,
"timestamp": "2026-05-19T04:00:00.000Z"
},
{
"value": 266.99679999999995,
"timestamp": "2026-05-18T04:00:00.000Z"
},
{
"value": 266.1891999999999,
"timestamp": "2026-05-15T04:00:00.000Z"
},
{
"value": 265.39039999999994,
"timestamp": "2026-05-14T04:00:00.000Z"
},
{
"value": 264.67659999999995,
"timestamp": "2026-05-13T04:00:00.000Z"
},
{
"value": 263.97419999999994,
"timestamp": "2026-05-12T04:00:00.000Z"
},
{
"value": 263.3725999999999,
"timestamp": "2026-05-11T04:00:00.000Z"
},
{
"value": 262.8025999999999,
"timestamp": "2026-05-08T04:00:00.000Z"
},
{
"value": 262.3952,
"timestamp": "2026-05-07T04:00:00.000Z"
}
],
"indicator": "sma"
},
"as_of": "2026-06-18T04:00:00.000Z",
"source": "x402stock",
"ticker": "AAPL"
}{
"type": "json",
"example": {
"data": {
"count": 2,
"values": [
{
"value": 275.2846,
"timestamp": "2026-05-28T12:00:00.000Z"
},
{
"value": 274.0422,
"timestamp": "2026-05-27T12:00:00.000Z"
}
],
"indicator": "sma"
},
"as_of": "2026-05-28T12:00:00.000Z",
"source": "x402stock",
"ticker": "AAPL"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"