Skip to main content
GET
/
v1
/
stocks
/
ratings
Get PIT Stock Ratings
curl --request GET \
  --url https://data-tools.prd.arrays.org/api/v1/stocks/ratings \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "date": "<string>",
      "debt_to_equity_score": 123,
      "discounted_cash_flow_score": 123,
      "overall_score": 123,
      "price_to_book_score": 123,
      "price_to_earnings_score": 123,
      "publish_time": 123,
      "rating": "<string>",
      "return_on_assets_score": 123,
      "return_on_equity_score": 123,
      "symbol": "<string>"
    }
  ],
  "error": {
    "code": "RESOURCE_NOT_FOUND",
    "details": [
      {
        "field": "<string>",
        "got": "<string>",
        "reason": "<string>"
      }
    ],
    "docs_url": "<string>",
    "examples": [
      "<string>"
    ],
    "hint": "<string>",
    "message": "The requested resource was not found.",
    "suggestions": [
      "<string>"
    ]
  },
  "pagination": "<unknown>",
  "request_id": "<string>",
  "success": true
}

Authorizations

X-API-Key
string
header
required

API Key authentication. Example: "your-api-key-here"

Query Parameters

symbol
string
required

Stock symbol (e.g., AAPL, TSLA)

start_time
integer<int64>
required

Start timestamp (Unix seconds, UTC)

end_time
integer<int64>
required

End timestamp (Unix seconds, UTC)

limit
integer<int32>
default:50

Maximum number of results (1-1000, default: 50)

Response

Successfully returns PIT stock ratings

data
object[]
error
object
pagination
any
request_id
string
success
boolean