# Copyscape API reference

> The Copyscape Premium API checks whether a page or a piece of text is copied elsewhere on the public internet (or in your own private index) and returns the matching pages with snippets and match counts. It also has an AI-text estimate and a credit balance call. All operations use one URL,…

Source: https://osinttools.io/apis/copyscape/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/copyscape/

- Base URL: https://www.copyscape.com/api
- Authentication: API key in the `k` query parameter. Get a key: https://www.copyscape.com/ Also send your username in the u parameter.
- Pricing: Pay per request
- Rate limits: Not stated in the docs
- Vendor docs: https://www.copyscape.com/api-guide.php

## Overview

The Copyscape Premium API checks whether a page or a piece of text is copied elsewhere on the public internet (or in your own private index) and returns the matching pages with snippets and match counts. It also has an AI-text estimate and a credit balance call.

All operations use one URL, `https://www.copyscape.com/api/`, and the operation is the `o` parameter. Every call carries your username (`u`) and API key (`k`) and must be made from a server, not from browser JavaScript. The response format is chosen with `f` (`json`, `xml` or `html`; XML is the default).

The API costs the same as the web interface: 3 cents for the first 200 words plus 1 cent per further 100 words or part of that. Text searches and the AI check are POST requests with the text in the body; those and the private-index operations are in the official docs and are not all reproduced here.

## Plagiarism search

### Search the public internet for copies of the content of a URL.

`GET /?o=csearch&f=json`

- Takes: URL
- Footprint: active (contacts the target)
- Cost: 3 cents for the first 200 words, 1 cent per further 100 words

Full comparisons are off by default (c=0); c of 3 or more adds the all* summary fields. minwordsmatched is an approximate, relative measure; use c for exact counts. Result links (viewurl) expire after a few weeks.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `u` | query | string | yes | Your Copyscape username Example: YOUR_USERNAME |
| `q` | query | string | yes | URL of the page to check Example: https://example.com/article.html |
| `c` | query | integer | no | Number of full comparisons, 0 to 10 Example: 0 |
| `i` | query | string | no | Comma-separated domains to ignore, subdomains included Example: example.org |
| `l` | query | string | no | Spend limit in dollars for this call Example: 0.50 |
| `x` | query | integer | no | Set to 1 for a free example response Example: 1 |

Response fields:

- `query` (string): The URL checked
- `querywords` (integer): Words in the checked content
- `cost` (number): Cost of the call in dollars
- `count` (integer): Number of matching pages
- `error` (string): Error message, when the call failed
- `allwordsmatched` (integer): Words matched across results (c of 3 or more)
- `allpercentmatched` (integer): Percent matched across results (c of 3 or more)
- `allviewurl` (string): Link to the combined comparison
- `result[].index` (integer): Position of the result
- `result[].url` (string): URL of the matching page
- `result[].title` (string): Title of the matching page
- `result[].textsnippet` (string): Matching text snippet
- `result[].minwordsmatched` (integer): Approximate words matched
- `result[].viewurl` (string): Link to the comparison page
- `result[].wordsmatched` (integer): Words matched (full comparison only)
- `result[].percentmatched` (integer): Percent matched (full comparison only)

```bash
curl 'https://www.copyscape.com/api/?o=csearch&f=json&u=YOUR_USERNAME&q=https%3A%2F%2Fexample.com%2Farticle.html&k=YOUR_API_KEY'
```

Example response (200):

```json
{
  "query": "https://example.com/article.html",
  "querywords": 512,
  "cost": 0.08,
  "count": 1,
  "result": [
    {
      "index": 1,
      "url": "https://example.org/post.html",
      "title": "Sample Post",
      "textsnippet": "... matching phrase from the page ...",
      "minwordsmatched": 40,
      "viewurl": "https://view.copyscape.com/compare/abc123/1"
    }
  ]
}
```

## AI check

### Estimate whether a text was written by AI, with a score for each segment.

`POST /?o=aicheck&f=json`

- Footprint: passive (the target is not contacted)
- Cost: Priced by word count like a search

The global score is not an average of the segment scores.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `u` | query | string | yes | Your Copyscape username Example: YOUR_USERNAME |
| `k` | query | string | yes | Your API key Example: YOUR_API_KEY |

Response fields:

- `querywords` (integer): Words in the text
- `cost` (number): Cost of the call in dollars
- `aiscore` (number): Estimate from 0.01 to 0.99
- `segments[].text` (string): A segment of the text
- `segments[].aiscore` (number): Score of the segment

```bash
curl -X POST 'https://www.copyscape.com/api/?o=aicheck&f=json&u=YOUR_USERNAME&k=YOUR_API_KEY&k=YOUR_API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d '{
  "e": "UTF-8",
  "t": "Sample text to check."
}'
```

Example response (200):

```json
{
  "querywords": 120,
  "cost": 0.04,
  "aiscore": 0.87,
  "segments": [
    {
      "text": "Sample sentence one.",
      "aiscore": 0.91
    },
    {
      "text": "Sample sentence two.",
      "aiscore": 0.22
    }
  ]
}
```

## Account

### Remaining credit and internet searches left today.

`GET /?o=balance&f=json`

- Footprint: passive (the target is not contacted)

The total field is kept for compatibility and is no longer meaningful under per-word pricing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `u` | query | string | yes | Your Copyscape username Example: YOUR_USERNAME |

Response fields:

- `value` (number): Remaining credit in dollars
- `today` (integer): Internet searches remaining today
- `total` (integer): Kept for backward compatibility

```bash
curl 'https://www.copyscape.com/api/?o=balance&f=json&u=YOUR_USERNAME&k=YOUR_API_KEY'
```

Example response (200):

```json
{
  "value": 12.5,
  "today": 100,
  "total": 0
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
