# Love Calculator API

> Love Calculator calculates romantic compatibility between any two names, returning a match percentage and summary text. Paid plans add detailed compatibility advice for the pair.

**Endpoint:** `GET https://api.apiverve.com/v1/lovecalculator`  
**Category:** Entertainment  
**Cost:** 1 credit per call  
**Canonical page:** https://apiverve.com/marketplace/lovecalculator

## Overview

Love Calculator works by analyzing the names provided and calculating the love compatibility percentage. It uses advanced algorithms to calculate the love compatibility between two names and returns the love compatibility percentage.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/lovecalculator?name1=John&name2=Jane" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `name1` | string | Yes | The first name to calculate love compatibility. length 0-100 |
| `name2` | string | Yes | The second name to calculate love compatibility. length 0-100 |

## Response fields

- `name1` — string · The first name provided for compatibility calculation
- `name2` — string · The second name provided for compatibility calculation
- `lovePercentage` — string · Calculated love compatibility percentage between two names
- `response` — string · Detailed compatibility analysis and advice for the couple · (premium)
- `additionalText` — string · Additional information and summary about love percentage

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "name1": "Jane",
    "name2": "John",
    "lovePercentage": "62%",
    "response": "You have good chemistry. Keep getting to know each other and see where it leads.",
    "additionalText": "The love percentage between Jane and John is 62%."
  }
}
```

## Use cases

- **Dating App Icebreakers** — To spark new conversations, dating apps show compatibility percentages between mutual matches before users send their first message.
- **Interactive Social Quizzes** — Digital publishers generate viral couple tests where readers enter two names to receive a match percentage and shareable relationship summary.
- **Community Discord Bots** — When server members run pairing commands, chat bots calculate instant compatibility percentages to create lighthearted engagement across social channels.
- **Holiday Marketing Campaigns** — Drive seasonal traffic around Valentine's Day by letting shoppers test name pairings on promotional landing pages before revealing discount codes.

## SDKs

- **npm** — `npm install @apiverve/lovecalculator` (https://www.npmjs.com/package/@apiverve/lovecalculator)
- **PyPI** — `pip install apiverve-lovecalculator` (https://pypi.org/project/apiverve-lovecalculator/)
- **NuGet** — `dotnet add package APIVerve.API.LoveCalculator` (https://www.nuget.org/packages/APIVerve.API.LoveCalculator)
- **Source** — https://github.com/apiverve/lovecalculator-api

## More

- Full reference: https://docs.apiverve.com/ref/lovecalculator
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
