---
title: "Capterra API: Compare | Perceptlayer"
description: "Compare from Capterra as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/capterra/compare
---

[APIs](https://perceptlayer.com/apis) / [Capterra](https://perceptlayer.com/apis/capterra) / Compare

# Capterra: Compare

Compare from Capterra as JSON. 1 credit per successful call.

GET `/v1/capterra/compare`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `product_a` | integer | Required | Any |
| `product_b` | integer | Required | Any |
| `slug_a` | string | Optional | Up to 200 characters |
| `slug_b` | string | Optional | Up to 200 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/capterra/compare" \
  -H "X-API-Key: $API_KEY"
```

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