SEO API
The DiagnoSEO Tools API provides developers, content creators, and SEO professionals with powerful AI-driven endpoints designed to automate and optimize every stage of the content creation process — from keyword research to article generation and final polish.
Each endpoint is lightweight, secure, and built for fast integration into your existing workflow or CMS.
With DiagnoSEO’s API, you can:
📝 Generate high-quality SEO content automatically
🎯 Extract TF-IDF keywords from any set of URLs
🧩 Create article structures (titles, outlines, sections, summaries, FAQs) in multiple languages
🤖 Humanize AI-generated text for a more natural, reader-friendly tone
💬 Encourage user engagement with “Did You Know” sections and comment incentives
All requests use standard POST methods and return clean, JSON-formatted responses.
Humanize AI
Make AI-generated text sound natural and engaging. This endpoint refines tone, improves readability, and removes robotic phrasing while preserving meaning. Perfect for post-editing GPT output before publishing.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/humanize-text
Request method: POST
Request fields
apikey
Your DiagnoSEO API keyinput
The text you want to humanizetone
(Optional) Required tone of voice. Default value: same as originalquality
(Optional) Output quality. Set to “hi” to use gpt-4.1 AI model, gpt-4.1-mini will be used otherwise
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occurstext
Humanized text if status is ‘ok’
Keywords based on TF IDF
Extract the most relevant keywords from any set of URLs using TF-IDF analysis. Identify top-performing terms in your niche and optimize your content for higher search relevance.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/tfidf-keywords
Request method: POST
Request fields
apikey
Your DiagnoSEO API keyurls
Stringified JSON array of URLs
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occursdata
JSON-encoded array of objects. Each object contains 2 fields: word (the keyword) and tf_idf (TF IDF value for this word in the context of provided URLs. Example: {“word”: “pizza”, “tf_idf”: 0.68}
Generate article outline
Automatically create a logical, SEO-friendly structure for your article. Generate headings and subheadings based on your topic, tone, and keywords — ideal for planning high-quality blog content in seconds.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-article-outline
Request method: POST
Request fields
apikey
Your DiagnoSEO API keytopic
The topic of your articlelanguage
Language of your article, e.g. ‘spanish’ or ‘english’headingCount
(Optional) Number of headings to generate. Default: 5tone
(Optional) Required tone of voice. Default value: conversationalexamples
(Optional) JSON-encoded array of example headingskeywords
(Optional) JSON-encoded array of keywords for use in the generated headingsforbiddenWords
(Optional) JSON-encoded array of words that must not be used
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occursoutline
JSON-encoded array of objects. Each object contains 2 fields: level (level of heading in hierarchy) and text (the text of the heading)
Generate article sections
Turn your outline into complete, well-written sections. This endpoint generates paragraph-level content with control over tone, length, and readability — helping you scale consistent, human-like writing.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-article-sections
Request method: POST
Request fields
apikey
Your DiagnoSEO API keytopic
The topic of your articlelanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of section titlespov
(Optional) Point of view from which the text shoould be written. Default value: second persontone
(Optional) Required tone of voice. Default value: conversationalkeywords
(Optional) JSON-encoded array of keywords for use in the generated headingsforbiddenWords
(Optional) JSON-encoded array of words that must not be usedsources
(Optional) JSON-encoded array of page contents/urls that serve as source of informationparagraphsPerSection
(Optional) Number of paragraphs in each sectionmaxWordsPerSentence
(Optional) Max. number of words per sentencemaxSentencesPerParagraph
(Optional) Max. number of sentences per paragraph
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occursdata
JSON-encoded array of objects. Each object contains 2 fields: sectionTitle (the title of the section) and paragraphs (array of paragraph texts)
Generate article title
Craft attention-grabbing titles optimized for SEO and reader engagement. Input your topic, keywords, or section titles to get creative and relevant title ideas instantly.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-article-title
Request method: POST
Request fields
apikey
Your DiagnoSEO API keytopic
The topic of your articlelanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of article section titleskeyword
(Optional) Keyword for use in the titleforbiddenWords
(Optional) JSON-encoded array of words that must not be used
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occurstext
The text of the title
Generate article intro
Produce a compelling article introduction that hooks readers immediately. The AI analyzes your sections and topic to write a concise, keyword-optimized intro that fits your content style.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-article-intro
Request method: POST
Request fields
apikey
Your DiagnoSEO API keytopic
The topic of your articlelanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of section titlessectionTexts
JSON-encoded array of section textsintroLength
(Optional) Max. number of words. Default: 100keyword
(Optional) Keyword for use in the introforbiddenWords
(Optional) JSON-encoded array of words that must not be used
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occurstext
The text of the article intro
Generate article summary
Automatically summarize your content into a few coherent sentences. Ideal for meta descriptions, newsletter snippets, or quick article overviews that maintain context and clarity.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-article-summary
Request method: POST
Request fields
apikey
Your DiagnoSEO API keylanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of section titlessectionTexts
JSON-encoded array of section textspov
(Optional) Point of view from which the text shoould be written. Default value: second persontone
(Optional) Required tone of voice. Default value: conversationalkeyword
(Optional) Keyword for use in the summaryforbiddenWords
(Optional) JSON-encoded array of words that must not be usedmaxWordsPerSentence
(Optional) Max. number of words per sentencemaxSentences
(Optional) Max. number of sentences
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occurstext
The text of the article summary
Generate key points
Extract key takeaways from your content. This endpoint generates short, impactful bullet points summarizing each section — perfect for TL;DR blocks, slide decks, or summaries.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-key-points
Request method: POST
Request fields
apikey
Your DiagnoSEO API keylanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of section titlessectionTexts
JSON-encoded array of section textsmaxWordsPerSentence
(Optional) Max. number of words in each key pointpov
(Optional) Point of view from which the text shoould be written. Default value: second persontone
(Optional) Required tone of voice. Default value: conversationalforbiddenWords
(Optional) JSON-encoded array of words that must not be used
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occurspoints
Array of key point texts
Generate ‘did you know’ section
Add engaging trivia or insights to your content. The “Did You Know” endpoint produces fact-based, conversational snippets that make your articles more interesting and interactive.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-did-you-know
Request method: POST
Request fields
apikey
Your DiagnoSEO API keytopic
The topic of your articlelanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of section titlessectionTexts
JSON-encoded array of section textsforbiddenWords
(Optional) JSON-encoded array of words that must not be usedsources
(Optional) JSON-encoded array of page contents/urls that serve as source of informationpov
(Optional) Point of view from which the text shoould be written. Default value: second persontone
(Optional) Required tone of voice. Default value: conversational
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occurspoints
Array of key point texts
Generate FAQ
Create SEO-optimized FAQs directly from your article. The AI analyzes content context and produces relevant questions and clear, concise answers to improve SERP visibility and user understanding.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-article-faq
Request method: POST
Request fields
apikey
Your DiagnoSEO API keytopic
The topic of your articlelanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of section titlessectionTexts
JSON-encoded array of section textsquestionCount
Desired number of questions in the FAQquestions
(Optional) JSON-encoded array of questions to include in FAQforbiddenWords
(Optional) JSON-encoded array of words that must not be usedkeyword
(Optional) Keyword for use in the FAQsources
(Optional) JSON-encoded array of page contents/urls that serve as source of informationpov
(Optional) Point of view from which the text shoould be written. Default value: second persontone
(Optional) Required tone of voice. Default value: conversational
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occursquestions
Array of objects, each of them contains the following fields: q (question text) and a (answer text)
Generate comment incentive
Encourage audience engagement by adding a smart comment prompt at the end of your post. This endpoint generates short, natural closing lines that invite readers to share their opinions or experiences.
Endpoint URL: https://app.diagnoseo.com/tools/api/public/generate-comment-incentive
Request method: POST
Request fields
apikey
Your DiagnoSEO API keylanguage
Language of your article, e.g. ‘spanish’ or ‘english’sectionTitles
JSON-encoded array of section titlessectionTexts
JSON-encoded array of section textsforbiddenWords
(Optional) JSON-encoded array of words that must not be usedtone
(Optional) Required tone of voice. Default value: conversationalmaxWords
(Optional) Max. number of words. Default value: 60
Response fields
status
‘ok’ in case of success, ‘error’ otherwisemessage
Brief information on the cause of error if it occurstext
The generated text of the comment incentive