---
title: "Explorer previous period comparison"
method: POST
path: "/v1/explorer/previous-period"
tags: ["Explorer"]
---

# Explorer previous period comparison

`POST /v1/explorer/previous-period`

## Request

- Base URL: `https://api.nops.io`
- URL: `https://api.nops.io/v1/explorer/previous-period`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nops/apis/nops-public-api/docs/v1/explorer/previous-period/post.ts> (a function with typed inputs; its response is checked against the schema)

Compare current period spend against the previous period.

## Request body

- object: JSON request body

## Response `200`

Explorer previous period comparison

- object
  - `data` object, required: JSON object

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `403`: Forbidden — insufficient permissions or entitlement

---

[API](https://skmtc.dev/nops/apis/nops-public-api.md) - [All operations](https://skmtc.dev/nops/apis/nops-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nops/apis/nops-public-api/revisions/ac549fa495dd?raw)
