The Rephraser API is a comprehensive solution designed to enhance content creation and management with advanced paraphrasing, summarization, and text optimization capabilities. It empowers developers to seamlessly integrate diverse text-enhancement tools into their applications, catering to a variety of writing styles and requirements.
BASE URL
https://www.rephraser.co/api
All API's End Points
Plan Details: Retrieve information about the user's subscribed plan, including:
Usage Details: The Usage Detail API provides an overview of your credit usage and detailed logs of API requests. It helps track credit consumption, monitor API activities, and analyze usage patterns effectively. This API is ideal for maintaining transparency and optimizing your credit utilization.
Rephrase: Tailor content to specific tones and styles:
Create
Create and submit a task for text humanization.
{
"input": "string",
"model_type":
"Quick"
}
{
"input": "string",
"model_type":
"Quick"
}
Retrieve
Retrieve the results of your submitted text humanization task.
{
"err_code": 0,
"err_msg": "Success",
"data": {
"input": "How to Give a Great Gift to
Someone\n\n\nChoosing the perfect gift for
someone can be a delightful experience when you
consider their preferences and interests. Here's
a guide on how to give a great gift that will be
appreciated and cherished:\n\n\n1. Know the
Recipient: Take the time to understand the
person you're buying for. Consider their
hobbies, interests, and personality. What makes
them happy?\n\n\n2. Listen and Observe: Pay
attention to any hints or mentions of things
they want or need. Sometimes, people drop subtle
hints about what they'd like as a gift.\n\n\n3.
Consider Practicality: A useful gift can be just
as thoughtful as a sentimental one. Think about
what would make the recipient's life easier or
more enjoyable.",
"input_words": 122,
"task_id":
"2c451bac-c5ea-4e77-a21a-23ebc14ba47f",
"words_used": 97,
"output": "How to Give a Great Gift to
Someone\n\nChoosing the perfect present for
another requires deep reflection on their
passions and pursuits. A guide for bestowing a
gift certain to be cherished:\n\n1. Fathoming
the recipient entails comprehending their
diversions, interests, and persona. What lifts
their spirit? \n\n2. Heed hints and allusions to
objects they covet or necessities they require,
whether oblique or overt. Subtle signposts
sometimes indicate coveted offerings.\n\n3.
Pondering usefulness alongside sentiment, a
present easing life or amplifying joy merits
equal thought. Consider how your selection may
delight through facilitating pleasure or
alleviating burden.",
"subtask_status": "completed",
"task_status": true,
"detection_result": "human",
"detection_score": 100,
"mode": "Advanced"
}
}
Every user is assigned a unique API key upon registration. This API key is required for authenticating requests to the Rephraser API. Requests that do not include a valid API key will return a 401 , 403 Forbidden error, preventing access to the API's features.
Your API Key
create_your_key
Header Parameter
['x-api-key: create_your_api_key']
The Rephraser API returns consistent responses to indicate the success or failure of each request. The response will include specific codes and messages to make it easy to understand the request’s status.
Possible Enum Values
Success :
success, response, data, message, status=true
Error :
error , api_error, exception, error_message, status=false
HTTP Status Code Summary
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Server Errors
This endpoint returns details of the user's subscribed plan, including the total and available API credits, along with the renewal date and amount.
Header:
Response:
The API responds with a JSON object containing the subscribed plan, credit & renew details.Response Parameters:
Plan Detail URL
- GET - {base_url}/plan/details
HTTP Request Header
['x-api-key: create_your_api_key']
Response
{
"status": 200,
"message": "Subscribed plan detail with usage",
"plan_detail": {
"subscribed_plan_id":
"sub_1QHghE2KSqiTg9wqwanQX1gS",
"plan_name": "yearly",
"total_api_credit": "500000",
"total_api_credit_in_k": "500k",
"available_api_credit": "492194",
"available_api_credit_in_k": "492k",
"renew_at": "11-05-2025",
"renew_amount": "$350"
}
}
The Usage Detail API provides detailed insights into the usage of credits, including overall credit consumption and individual API usage logs. This API is useful for monitoring credit consumption and analyzing usage patterns.
Header:
Response:
The API responds with a JSON object containing the total credit details and a breakdown of usage activities.Response Parameters:
Usage Detail URL
- GET - {base_url}/usage/details
HTTP Request Header
['x-api-key: create_your_api_key']
Response
{
"status": 200,
"message": "Usage detail with api credits.",
"total_credit": "500,000",
"total_used_credit": "8,135",
"usage_detail": [
{
"ip_address": "127.0.0.1",
"browser": "null",
"origin": "null",
"api_mode": "humanize",
"input_txt": "The Beginning
of Ranjha's Journey\n\nRanjha, whose full name was Dheedo Ranjha, was
the youngest of four brothers born into a well-to-do family in the
village of Takht Hazara, on the banks of the Chenab River. Unlike his
elder brothers, who were more inclin",
"output_txt": "The
Beginning of Ranjha's Journey.\n\n Dheedo Ranjha, the youngest of four
brothers, was born into a wealthy family in the village of Takht Hazara
by the Chenab River. Unlike his older siblings, who preferred
agriculture and estate management, Ranjha was",
"api_credit": "954"
"created_at": "2024-11-08
06:12:03",
},
{
"ip_address": "127.0.0.1",
"browser": "null",
"origin": "null",
"api_mode": "summarizer",
"input_txt": "The Beginning
of Ranjha's Journey\n\nRanjha, whose full name was Dheedo Ranjha, was
the youngest of four brothers born into a well-to-do family in the
village of Takht Hazara, on the banks of the Chenab River. Unlike his
elder brothers, who were more inclin",
"output_txt": "The
Beginning of Ranjha's Journey.\n\n Dheedo Ranjha, the youngest of four
brothers, was born into a wealthy family in the village of Takht Hazara
by the Chenab River. Unlike his older siblings, who preferred
agriculture and estate management, Ranjha was",
"api_credit": "954"
"created_at": "2024-11-08
06:12:03",
},
]
}
This API endpoint allows you to rephrase content in different modes (Creative, Fluence, Formal, Academic, and Blog) based on the input provided. The response will include the rephrased content, word count statistics, and the percentage of change.
Request:
Response:
The response format will remain the same for all modes, with the only difference being the prefix in the response field (e.g., blog_text for Blog mode, creative_text for Creative mode, etc.):Response Parameters:
<span></span>
tags. The mode will vary
depending on the selected mode (e.g., creative_text, fluent_text,
formal_text, academic_text, blog_text).
<span></span>
tags.Humanize URL
- POST - {base_url}/rephrase
HTTP Request Header
['x-api-key: create_your_api_key']
HTTP Request Body
[
"input_content" => "In today’s
fast-paced digital world, it’s crucial for businesses to stay connected
with their customers in a personalized way. As technology evolves, so do
the expectations of consumers who now seek not only convenience but also
meaningful engagement.",
"freeze_words" => "technological ,
modern" (This parameter only for 'blog' mode.),
"lang" => "en",
"mode" => "blog"
]
Response
{
"status": 200,
"message": "Content blog successfully",
"blog_text": "<span>Today's</span>
<span>swiftly</span> <span>evolving</span>
<span>tech</span> <span>environment</span>
<span>necessitates</span> <span>companies</span>
to <span>maintain</span>
<span>individualized</span>
<span>connections</span> with their
<span>clientele.</span> As <span>tech</span>
<span>advances,</span> <span>consumer</span>
<span>demands</span> <span>shift</span>
<span>towards</span> not <span>just</span>
<span>ease</span> but also
<span>significant</span>
<span>involvement.</span>",
"blog_plain_text": " Today's swiftly evolving tech
environment necessitates companies to maintain individualized
connections with their clientele. As tech advances, consumer demands
shift towards not just ease but also significant involvement.",
"percentage": 87.9310,
"input_word_count": 40,
"output_word_count": 28
}
The Humanize API is designed to make text sound more natural and relatable by adjusting the tone and phrasing. This endpoint is especially useful for creating content that connects with audiences on a more personal level. It transforms overly formal or robotic text into language that feels conversational and human-friendly.
Request:
Response:
The API responds with a JSON object containing the humanized version of the text, both with and without HTML <span></span>
tags, as well as information about the transformation
process.
Response Parameters:
<span></span>
tags around specific words that
were modified or emphasized. Humanize URL
- POST - {base_url}/humanize
HTTP Request Header
['x-api-key:
create_your_api_key']
HTTP Request Body
[
"input_content" => "In today’s
fast-paced digital world, it’s crucial for businesses to stay connected
with their customers in a personalized way. As technology evolves, so do
the expectations of consumers who now seek not only convenience but also
meaningful engagement.",
"lang" => "en"
]
Response
{
"status": 200,
"message": "Content humanized successfully",
"blog_text": "<span>Today's</span>
<span>swiftly</span> <span>evolving</span>
<span>tech</span> <span>environment</span>
<span>necessitates</span> <span>companies</span>
to <span>maintain</span>
<span>individualized</span>
<span>connections</span> with their
<span>clientele.</span> As <span>tech</span>
<span>advances,</span> <span>consumer</span>
<span>demands</span> <span>shift</span>
<span>towards</span> not <span>just</span>
<span>ease</span> but also
<span>significant</span>
<span>involvement.</span>",
"blog_plain_text": " Today's swiftly evolving tech
environment necessitates companies to maintain individualized
connections with their clientele. As tech advances, consumer demands
shift towards not just ease but also significant involvement.",
"percentage": 87.9310,
"input_word_count": 40,
"output_word_count": 28
}
The Summarizer API condenses lengthy content into a shorter, more concise version, highlighting the main points. It is particularly useful for creating summaries of articles, reports, and other types of long-form content, enabling users to quickly grasp key information.
Request:
Response:
The API responds with a JSON object containing the summarized text, bullet points, keywords, and other useful summary details.Response Parameters:
Notes:
Summarize URL
- POST - {base_url}/summarize
HTTP Request Header
['x-api-key:
create_your_api_key']
HTTP Request Body
[
"input_content" => "In today’s
fast-paced digital world, it’s crucial for businesses to stay connected
with their customers in a personalized way. As technology evolves, so do
the expectations of consumers who now seek not only convenience but also
meaningful engagement.",
]
Response
{
"status": 200,
"message": "Content summarized successfully",
"summarized_text": "In today’s fast-paced digital
world, it’s crucial for businesses to stay connected with their
customers in a personalized way. As technology evolves, so do the
expectations of consumers who now seek not only convenience but also
meaningful engagement.",
"bullet_points": "\n• In today’s fast-paced digital
world, it’s crucial for businesses to stay connected with their
customers in a personalized way.\n• As technology evolves, so do the
expectations of consumers who now seek not only convenience but also
meaningful engagement.\n\n",
"keywords": ["businesses", "expectations", "fast",
"meaningful", "paced", "personalized", "seek", "stay", "technology",
"today"],
"best_line": "In today’s fast-paced digital world,
it’s crucial for businesses to stay connected with their customers in a
personalized way."
"input_word_count": 40 ,
}
The Plagiarism Remover API helps rephrase content to avoid plagiarism while retaining the original meaning. It is ideal for users looking to create unique versions of text, ensuring that the content is original and free from duplication.
Request:
Response:
The API responds with a JSON object containing the rephrased text, free from plagiarism, along with related details.Response Parameters:
<span></span>
tags to highlight the words
changed to remove plagiarism.
<span></span>
tags.Plagraism Remover URL
- POST - {base_url}/plagiarism-remover
HTTP Request Header
['x-api-key:
create_your_api_key']
HTTP Request Body
[
"input_content" => "In today’s
fast-paced digital world, it’s crucial for businesses to stay connected
with their customers in a personalized way. As technology evolves, so do
the expectations of consumers who now seek not only convenience but also
meaningful engagement.",
]
Response
{
"status": 200,
"message": "Content plagiarism removed
successfully",
"plagiarism_removed_text": "In
<span>the</span> <span>modern</span>
<span>era</span> <span>of</span>
<span>rapid</span> <span>technological</span>
<span>advancements,</span> <span>it</span>
<span>is</span> <span>of</span>
<span>utmost</span> <span>importance</span> for
<span>companies</span> to <span>maintain</span>
<span>a</span> <span>strong</span>
<span>connection</span> with their customers
<span>through</span> personalized
<span>communication.</span> As technology
<span>advances,</span> <span>consumers'</span>
expectations <span>also</span>
<span>evolve,</span> <span>demanding</span> not
only convenience but also <span>a</span>
<span>sense</span> <span>of</span>
<span>connection</span> <span>and</span>
engagement.",
"plagiarism_removed_plain_text": "In the modern era
of rapid technological advancements, it is of utmost importance for
companies to maintain a strong connection with their customers through
personalized communication. As technology advances, consumers'
expectations also evolve, demanding not only convenience but also a
sense of connection and engagement.",
"percentage": 67.79661016949152,
"input_word_count": 40,
"output_word_count": 45
}
The Article Rewriter API enables users to transform existing text into a fresh, unique version while preserving the original meaning. It is ideal for content creators, marketers, and bloggers looking to generate high-quality, plagiarism-free rewritten articles with ease.
Request:
Response:
The API responds with a JSON object containing the rewritten content and relevant details.Response Parameters:
<span></span>
tags highlighting the
changes. <span></span>
tags.
Article Rewriter URL
- POST - {base_url}/article-rewriter
HTTP Request Header
['x-api-key:
create_your_api_key']
HTTP Request Body
[
"input_content" => "In today’s
fast-paced digital world, it’s crucial for businesses to stay connected
with their customers in a personalized way. As technology evolves, so do
the expectations of consumers who now seek not only convenience but also
meaningful engagement.",
]
Response
{
"status": 200,
"message": "Content rewrite successfully",
"rewritten_text": "In <span>the</span>
<span>modern</span> <span>era</span>
<span>of</span> <span>rapid</span>
<span>technological</span>
<span>advancements,</span> <span>it</span>
<span>is</span> <span>of</span>
<span>utmost</span> <span>importance</span> for
<span>companies</span> to <span>maintain</span>
<span>a</span> <span>strong</span>
<span>connection</span> with their customers
<span>through</span> personalized
<span>communication.</span> As technology
<span>advances,</span> <span>consumers'</span>
expectations <span>also</span>
<span>evolve,</span> <span>demanding</span> not
only convenience but also <span>a</span>
<span>sense</span> <span>of</span>
<span>connection</span> <span>and</span>
engagement.",
"rewritten_plain_text": "In the modern era of rapid
technological advancements, it is of utmost importance for companies to
maintain a strong connection with their customers through personalized
communication. As technology advances, consumers' expectations also
evolve, demanding not only convenience but also a sense of connection
and engagement.",
"percentage": 67.79661016949152,
"input_word_count": 40,
"output_word_count": 45
}
The Grammar Checker API is a powerful tool that identifies grammatical, spelling, and punctuation errors in text and provides corrections. It is ideal for enhancing the clarity, correctness, engagement, and delivery of written content.
Request:
Response:
The API responds with a JSON object that includes the corrected text, a detailed analysis of the input, and specific error corrections.Response Parameters:
<span></span>
tags highlighting the incorrect
parts.Grammar Checker URL
- POST - {base_url}/grammar-checker
HTTP Request Header
['x-api-key:
create_your_api_key']
HTTP Request Body
[
"input_content" => "In today’s
fast-paced digital world, it’s crucial for businesses to stay connected
with their customers in a personalized way. As technology evolves, so do
the expectations of consumers who now seek not only convenience but also
meaningful engagement.",
"lang" => "en"
]
Response
{
"incorrect_input": "In today’s fast-paced digital
world, <span>it’s</span>
crucial for businesses to stay connected with their customers in a
personalized way. As technology evolves, so do <span>the expectations of consumers
who</span> now seek not only convenience but also
meaningful engagement.",
"corrected_text": "In today’s fast-paced digital
world, it is crucial for businesses to stay connected with their
customers in a personalized way. As technology evolves, so do consumer
expectations; they now seek not only convenience but also meaningful
engagement.\n",
"clarity": 9.0,
"correctness": 9.5,
"delivery": 8.0,
"engagement": 7.0,
"errors" : [
{
"color_code": "#4682B4",
"corrected_replacement":
"it is",
"start_index": 37
"end_index": 42,
"error_example":
"Incorrect: It’s time to go. Correct: It is time to go.",
"error_info": "Contraction
of 'it is' is used instead of the formal 'it is'.",
"error_type":
"contraction",
"replace_word": "it’s",
},
{
"color_code": "#4682B4",
"corrected_replacement":
"consumer expectations; they",
"start_index": 157
"end_index": 184,
"error_example":
"Incorrect: The expectations of consumers who now seek... Correct:
Consumer expectations; they now seek...",
"error_info": "Incorrect
phrasing; wordiness and a run-on sentence.",
"error_type": "sentence
structure",
"replace_word": "the
expectations of consumers who",
}
],
"input_text": "In today’s fast-paced digital world,
it’s crucial for businesses to stay connected with their customers in a
personalized way. As technology evolves, so do the expectations of
consumers who now seek not only convenience but also meaningful
engagement."
}