Search the public internet for copies of the content of a URL.
GET/?o=csearch&f=json
- Takes: URL
- 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.
Query parameters
uYour Copyscape username
qURL of the page to check
cNumber of full comparisons, 0 to 10
iComma-separated domains to ignore, subdomains included
lSpend limit in dollars for this call
xSet to 1 for a free example response
Response fields · 16ShowHide
query
The URL checked
querywords
Words in the checked content
cost
Cost of the call in dollars
count
Number of matching pages
error
Error message, when the call failed
allwordsmatched
Words matched across results (c of 3 or more)
allpercentmatched
Percent matched across results (c of 3 or more)
allviewurl
Link to the combined comparison
index
Position of the result
url
URL of the matching page
title
Title of the matching page
textsnippet
Matching text snippet
minwordsmatched
Approximate words matched
viewurl
Link to the comparison page
wordsmatched
Words matched (full comparison only)
percentmatched
Percent matched (full comparison only)
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'{
"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"
}
]
}