Published article or editorial content with full text, metadata, author information, engagement metrics, and publication status. Used for news sites, magazines, and content platforms.
https://api.mockly.codes/articles?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/articlesGet a collection of articles
/content/articles/articles/:idGet a single article by ID
/content/articles/:id/articles/metaGet resource metadata and schema
/content/articles/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/articles?q=laptopGET https://api.mockly.codes/articles?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 articles
fetch('https://api.mockly.codes/articles?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/articles?count=10'
)
data = response.json()curl "https://api.mockly.codes/articles?count=10"fetch('https://api.mockly.codes/articles?nocache=true')idintegerUnique identifier for the article
random_inttitlestringHeadline or title of the article
sentenceslugstringURL-friendly version of the title used in web addresses
slugauthorstringFull name of the article author
nameauthor_idintegerForeign key reference to the author's user profile
random_intcontentstringFull article body text and content
paragraphexcerptstringShort summary or preview text displayed in article listings
sentencecategorystringArticle category or topic (e.g., Technology, Politics, Sports, Lifestyle)
article_categorytagsarrayArray of topic tags for categorization and search
tagsstatusstringPublication status (e.g., draft, published, archived, scheduled)
statusviewsintegerTotal number of times the article has been viewed
random_intlikesintegerNumber of likes or positive reactions the article has received
random_intcomments_countintegerTotal number of comments posted on the article
random_intfeatured_imagestringURL to the main image displayed with the article
image_urluripublished_atstringTimestamp when the article was published
past_datedate-timeupdated_atstringTimestamp when the article was last modified
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request