Extract Authors API

Extracts the authors from a given URL. This API is useful for extracting the authors from a blog post or news article. The API will return a list of authors with their names and links to their profiles if available.

GET
https://api.apileague.com/extract-authors
Example Request and Response
GET
https://api.apileague.com/{{ examples.getExtractAuthors }}
{
    "authors": [
        {
            "link": "https://www.nytimes.com/by/natasha-frost",
            "name": "Natasha Frost"
        }
    ]
}
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}

Frequently Asked Questions

Can it extract multiple authors?

Yes, if an article or page lists multiple authors, the API will attempt to extract and return all of them.

Does it work on any website?

The API is designed to work on a wide variety of news sites and blogs, but success depends on how the website structures its author information.

What if no author is found?

If the API cannot identify an author, it will return an empty list. This can happen if the page doesn't explicitly list an author or uses a non-standard format.

How is the Extract Authors API different from the Extract News API?

The Extract Authors API specifically targets author information from a page, while the Extract News API extracts the full content, including title, text, images, and metadata like the author.

Questions? Need Help? Ask Away