API dokumentation

För närvarande är Duplicheckers API:er endast tillgängliga för plagiatkontroll.

Requests

Data resources are accessed via standard HTTPS requests in UTF-8 format to API endpoint.

Methods

HTTP Method
Description
GET
Requests a resource's data.
POST
The data is sent to the resource to be processed
DELETE
Eliminates an existing resource

Base URL

Base URL for API requests is

Headers

These headers are required to make a successful request:

Header
Description
Accept
Must be application/vnd.api+json, since Unicheck leverage JSON API specification
Authorization
Should be Bearer. See Authorization and Authentication for moreinfo
Content-Type
Only for requests, that have body. Usually it's application/vnd.api+json,

Rate Limiting

Rate limiting enables web api to share access bandwidth to its resources equally across all users of the api

Rate limiting is applied as per the application and regardless of the number of users who use the application concurrently.

Header
Description
X-Rate-Limit-Limit
The rate limit ceiling for that given endpoint
X-Rate-Limit-Remaining
The number of requests left for the time window

Schemas

All API responses and some of the requests data are JSON API compatible.

Most of API calls return JSON response body that include information about the resource and one or more contextual HATEOAS links. Use these links to request more information about and construct an API flow that is relative to a specific request.

Visit JSON API web-site for more information. There are a lot of ready-to-use implementations: http://jsonapi.org/implementations.

Response status codes

HTTP Code
Description
412
Request Failed. Missing some parameters.
401
Unauthorized! Invalid Token.
402
Plan expired! Your plan has expired. Please renew it to continue with the service.
406
Maximum {LIMIT} words allowed per search.
422
Content not supported.
429
Too Many Requests - Rate limiting has been applied.

Skaffa API-token

Du kan få din api-token från din profil efter att du har köpt planen

GÅ till https://duplichecker.com/profile


Kontrollera kontostatus

Method:

POST

URL

Where

Parameter
Description
token
Your API Token.

Example

curl -X POST /

https://www.duplichecker.com/api/info

-d 'token={YOUR_TOKEN}'

Response

{
    "name": "Dupli",
    "email": "{YOUR EMAIL}",
    "username": "{YOUR NAME}",
    "total_words": 1500,
    "used_words": 252,
    "account_status": 1
}

Kontrollera plagiat

Method:

POST

URL

Where

Parameter
Description
token
Your API Token.
data
This electric vehicle prototype has been designed and developed by DICE Foundation.

Example

curl -X POST /

https://www.duplichecker.com/api/checkplag

-d 'token={YOUR_TOKEN}'

d "data = On the red table, there was a purple curtain. Underneath that was a silver cage. Inside that cage there was a green teddy bear, with the number 43 written on its chest with a black permanent marker. Its eyes were as green as envy".

Response

{
    "hash": "09041fe1154b29eef3267377e2db7d35",
    "totalQueries": 4,
    "recall": true,
    "key": 1
}

CallBack Url

Method:

GET

URL

Where

Parameter
Description
hash
return from previous API. (hash valid only for 7 hours.)
key
return from previous API.

Example

curl -X POST /

https://www.duplichecker.com/api/query-footprint/{hash}/{key}

Response

{
    "recall": true,
    "hash": "aa3d54981ffb2abecb96d3668de3aa2a",
    "key": 2
}

Notera:

Repeat CallBack url with new parameters until {recall: true}

On completion Response

{
    "recall": false,
    "hash": "aa3d54981ffb2abecb96d3668de3aa2a",
    "plagPercent": 100,
    "uniquePercent": 0,
    "details": [
        {"query": "This electric vehicle prototype has been designed and developed by DICE Foundation, a U.S.-based non-profit organization run by Pakistani expatriates, along with support from local academia and industry.",
        "error": 0,
        "unique": "false",
        "webs":[{
            "title": "Being Pakistani on Twitter: \"This electric vehicle prototype has …",
            "url": "https://www.bing.com/ck/a?!&&p=8c584f0140522ed7JmltdHM9MTY2MTk5MDQwMCZpZ3VpZD0wNzNlOTk1Ny1hMmFkLTY4MzYtMzdmNi04YjQ0YTM4NTY5NWYmaW5zaWQ9NTE4OQ&ptn=3&hsh=3&fclid=073e9957-a2ad-6836-37f6-8b44a385695f&u=a1aHR0cHM6Ly90d2l0dGVyLmNvbS9CZWluZ1Bha2lzdGFuaWUvc3RhdHVzLzE1NTg4Nzk5OTk5MjY2MjQyNTY&ntb=1",
            "des": "This electric vehicle prototype has been designed and developed by DICE Foundation, a U.S.-based non-profit organization run by Pakistani expatriates, along with support from …",
            "is_url": false
        }
    ]},
    {
        "query": "The prototype of Pakistan’s first electric hatchback has been named Nur-E (named after Noor).",
        "error": 0,
        "unique": "false",
        "webs": [{
            "title": "www.pakwheels.com › blog › pakistans-first-electricPakistan’s First Electric Hatchback Unveiled - PakWheels Blog",
            "url": "https://www.pakwheels.com/blog/pakistans-first-electric-hatchback-unveiled//",
            "des": "Aug 14, 2022 ·  The prototype of Pakistan’s first electric hatchback has been named Nur-E (named after Noor). The name of the Electric Car company is named JaXari (named after a scientist from the 12 century, Ismael al-Jazari). Specs and Features Some of the specs and features of this electric hatchback include: 5 Seater, 5 Door Hatchback ",
            "is_url": true
        }]
    },
    {
        "query": "The name of the Electric Car company is named JaXari (named after a scientist from the 12 century, Ismael al-Jazari).",
        "error": 0,
        "unique": "false",
        "webs":[{
            "title": "www.linkedin.com › posts › saqib-uddin-35812585Saqib Uddin on LinkedIn: #water #conductivity #flowmeter",
            "url": "https://www.linkedin.com/posts/saqib-uddin-35812585_water-conductivity-flowmeter-activity-6965615020818739200-c72C/",
            "des": "The name of the Electric Car company is named JaXari (named after a scientist from the 12 century, Ismael al-Jazari). #DICE #NED #DSU #TEVTA #AmreliSteels #PSG #Kruddson #NUST #SirSyedUniversity # ... ",
            "is_url": true
        }]
    }
    ]
}

Som sett på

Academia.edu Bllue Blots eHOW Helum OSU Kansas university

Om oss

DupliChecker.com -teamet består av experter inom olika områden, alla med samma huvudfokus: att hjälpa våra kunder att skapa större affärer med hjälp av våra tjänster.

För mer: Gratis verktyg
Subscribe
Close Popup