---
title: "Madlan API: Analytics Sales History | Perceptlayer"
description: "Analytics Sales History from Madlan as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/madlan/analytics-sales-history
---

[APIs](https://perceptlayer.com/apis) / [Madlan](https://perceptlayer.com/apis/madlan) / Analytics Sales History

# Madlan: Analytics Sales History

Analytics Sales History from Madlan as JSON. 1 credit per successful call.

GET `/v1/madlan/analytics-sales-history`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `period_years` | integer | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/madlan/analytics-sales-history?period_years=5" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/madlan?try=analytics-sales-history#playground) with your own parameters. 1 credit per successful call; failed calls are free.
