WordPress Articles Scraper avatar

WordPress Articles Scraper

Pricing

from $2.99 / 1,000 articles

Go to Apify Store
WordPress Articles Scraper

WordPress Articles Scraper

Bounded public WordPress REST API v2 Actor that extracts source-backed articles, embedded metadata, and truthful access diagnostics.

Pricing

from $2.99 / 1,000 articles

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

WordPress Articles Scraper reads public posts through a WordPress site's documented REST API v2. Start from a site root, an installation subdirectory, or a /wp-json/wp/v2/posts URL; the Actor saves one row per post with its stable ID, canonical link, title, cleaned and rendered content, excerpt, dates, author, categories, tags, featured media, content images, calculated content statistics, and optional bounded public comments. It is a lightweight, source-backed alternative to the WordPress REST API for content inventories, monitoring, research, and downstream data pipelines.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Add one or more public WordPress startUrls, then choose maxItems, maxRequestsPerCrawl, and perPage for the run.
  3. Keep includeDetails, maxDetailItems, and includeComments small for the first run; detail enrichment and comments are extra requests.
  4. Start the Actor, open the dataset, and export the saved articles as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check the outcome, request counts, and whether detail or comment work failed.

Input

startUrls is required. Every other field is optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
startUrlsobject arrayRequired[{"url":"https://developer.wordpress.org/news/"}]Public WordPress site roots, installation subdirectories, or /wp-json/wp/v2/posts URLs. Each entry requires url; an optional method is retained for RequestList compatibility. 1–50 entries.
categoriesstringOptionalNot suppliedComma- or pipe-separated public category names or numeric IDs. Multiple values must all match. Up to 500 characters.
tagsstringOptionalNot suppliedComma- or pipe-separated public tag names or numeric IDs. Multiple values must all match. Up to 500 characters.
searchstringOptionalNot suppliedWordPress title and content search term. Up to 200 characters.
maxItemsintegerOptional10Global cap on saved article rows across all start URLs and pages. 1–10000.
maxRequestsPerCrawlintegerOptional1Page budget applied independently to each start URL. 1–100.
perPageintegerOptional10Posts requested per page from the WordPress API. 1–100.
offsetintegerOptional0Posts to skip before the first page for each start URL. 0–1000000.
includeDetailsbooleanOptionaltrueRequest a separate public post-detail response for selected records. A failed detail request keeps the list record.
maxDetailItemsintegerOptional3Maximum selected records enriched with a detail request. 0–50; 0 disables enrichment.
includeCommentsbooleanOptionalfalseKeep bounded public comments when the embedded WordPress response exposes replies.
maxCommentsintegerOptional5Maximum public comments retained per article when comments are enabled. 0–25.
includeContentHtmlbooleanOptionaltrueKeep bounded rendered contentHtml and excerptHtml alongside the cleaned text fields.
timeoutMsintegerOptional30000Maximum duration of each public REST request. 1000–120000 ms.
requestDelayMsintegerOptional500Minimum delay between consecutive public requests. 0–10000 ms.
maxResponseBytesintegerOptional5000000Maximum accepted REST response size. 100000–10000000 bytes.
retriesintegerOptional1Retries for transient HTTP and network errors. Access blocks are never bypassed. 0–3.
userAgentstringOptionalNot suppliedTransparent HTTP user-agent string. 10–300 characters.
proxyConfigurationobjectOptionalNot suppliedAccepted for compatibility with existing inputs but ignored by this direct REST implementation. The Actor does not use or claim proxy rotation.

Full default input:

{
"startUrls": [
{
"url": "https://developer.wordpress.org/news/"
}
],
"maxItems": 10,
"maxRequestsPerCrawl": 1,
"perPage": 10,
"offset": 0,
"includeDetails": true,
"maxDetailItems": 3,
"includeComments": false,
"maxComments": 5,
"includeContentHtml": true,
"timeoutMs": 30000,
"requestDelayMs": 500,
"maxResponseBytes": 5000000,
"retries": 1
}

The Actor reads only public WordPress REST API responses. It does not log in, access private posts, or fabricate missing content. proxyConfiguration is accepted for input compatibility only; the direct REST implementation ignores it.

Output

The dataset contains one row per unique public article. Optional values are omitted when the source does not publish them rather than inferred, and no placeholder rows are written. A detail-enrichment failure after a list record was saved leaves that row available and marks the run PARTIAL.

FieldTypeAvailabilityMeaning
recordTypestring enumAlwaysRecord kind; always wordpress-article.
sourceIdstringAlwaysStable source post identifier as a string.
idintegerAlwaysWordPress post ID.
siteUrlstringAlwaysNormalized public WordPress site URL.
site_urlstringAlwaysBackward-compatible alias of siteUrl.
sourceUrlstringAlwaysPublic REST response URL that produced the row.
pageUrlstringAlwaysConfigured public start URL for the page.
apiUrlstringAlwaysREST API URL used for the row.
api_urlstringAlwaysBackward-compatible alias of apiUrl.
sourceWebsitestringAlwaysOrigin of the public WordPress site.
sourcestringAlwaysSource family label, public WordPress REST API v2.
provenancestringAlwaysExtraction provenance label.
pageNumintegerAlwaysOne-based page number within the start URL.
pageintegerAlwaysBackward-compatible alias of pageNum.
positionintegerAlwaysOne-based position within the source page.
searchstringWhen search is suppliedSearch term applied to the REST query.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.
slugstringAlwaysWordPress post slug.
guidstringWhen publishedPublic WordPress GUID URL.
canonicalUrlstringAlwaysCanonical public article URL.
linkstringAlwaysPublic article URL.
titlestringAlwaysCleaned article title.
titleHtmlstringAlwaysRendered title value returned by WordPress.
contentstringAlwaysCleaned public article text; an empty string is possible when the post body is empty.
contentHtmlstringWhen includeContentHtml is trueBounded rendered article HTML.
excerptstringAlwaysCleaned public excerpt.
excerptHtmlstringWhen includeContentHtml is trueBounded rendered excerpt HTML.
datestringWhen publishedPublication time normalized to ISO 8601.
modifiedstringWhen publishedLast modification time normalized to ISO 8601.
postTypestringWhen publishedWordPress post type.
postStatusstringWhen publishedPublic WordPress post status.
formatstringWhen publishedWordPress post format.
templatestringWhen exposed by the sourceWordPress template slug.
stickybooleanWhen returned by the sourceWhether WordPress marks the post sticky.
authorstringWhen publishedPublic author display name.
authorDetailsobjectWhen the author is embeddedPublic author ID, name, URL, profile URL, description, and avatar URLs.
categoriesstring arrayWhen assignedPublic category names.
tagsstring arrayWhen assignedPublic tag names.
categoryDetailsobject arrayWhen assignedStructured public category terms.
tagDetailsobject arrayWhen assignedStructured public tag terms.
featuredMediaIdintegerWhen a featured image existsFeatured media post ID.
featured_imagestringWhen a featured image existsBackward-compatible featured image URL.
featuredImagestringWhen a featured image existsFeatured image URL.
featuredMediaobjectWhen a featured image existsStructured featured media metadata.
contentImagesobject arrayWhen the article body contains imagesArticle images with URL, alt text, width, and height; known avatars and UI assets are excluded.
contentStatsobjectAlwaysCalculated wordCount, characterCount, and paragraphCount from the saved content.
commentCountintegerWhen public comments are embeddedCount of actual public comments in the embedded response; omitted when the source returns an embed error placeholder or no comments.
commentsobject arrayWhen includeComments is enabled and comments existBounded public comments with ID, parent, dates, author object, content, link, status, and type.
extra_metadataobjectWhen compatible metadata is availablePublic author ID, author bio/link, category and tag descriptions, and featured-image alt text.

The example below shows selected fields from the real first saved row of the 2026-10-25 run. Long content, HTML, image arrays, comments, and extra_metadata are omitted from the example rather than shortened; the values shown are complete.

{
"recordType": "wordpress-article",
"sourceId": "6415",
"id": 6415,
"siteUrl": "https://developer.wordpress.org/news",
"site_url": "https://developer.wordpress.org/news",
"sourceUrl": "https://developer.wordpress.org/news/wp-json/wp/v2/posts/6415?_embed=1",
"pageUrl": "https://developer.wordpress.org/news/",
"apiUrl": "https://developer.wordpress.org/news/wp-json/wp/v2/posts/6415?_embed=1",
"api_url": "https://developer.wordpress.org/news/wp-json/wp/v2/posts/6415?_embed=1",
"sourceWebsite": "https://developer.wordpress.org",
"source": "public WordPress REST API v2",
"provenance": "wordpress_rest_api_v2_embedded_v1",
"pageNum": 1,
"page": 1,
"position": 1,
"scrapedAt": "2026-10-25T20:46:48.045Z",
"slug": "whats-new-for-developers-october-2026",
"guid": "https://developer.wordpress.org/news/?p=6415",
"canonicalUrl": "https://developer.wordpress.org/news/2026/10/whats-new-for-developers-october-2026/",
"link": "https://developer.wordpress.org/news/2026/10/whats-new-for-developers-october-2026/",
"title": "What’s new for developers? (October 2026)",
"titleHtml": "What’s new for developers? (October 2026)",
"date": "2026-10-14T19:56:09.000Z",
"modified": "2026-10-14T19:56:25.000Z",
"postType": "post",
"postStatus": "publish",
"format": "standard",
"sticky": true,
"author": "Justin Tadlock",
"categories": ["Blocks", "Playground", "Plugins", "Themes"],
"tags": ["Monthly Roundups"],
"featuredMediaId": 6419,
"featured_image": "https://developer.wordpress.org/news/files/2026/10/whats-new-devs-oct-2026.png",
"featuredImage": "https://developer.wordpress.org/news/files/2026/10/whats-new-devs-oct-2026.png",
"contentStats": {
"wordCount": 2328,
"characterCount": 14135,
"paragraphCount": 1
},
"commentCount": 1
}

authorDetails contains id (integer), name, url, profileUrl, description, and avatarUrls (object). categoryDetails and tagDetails contain id, name, slug, description, link, count, and taxonomy. featuredMedia contains id, url, sourceUrl, title, caption, altText, description, mediaType, mimeType, width, height, and fileSize. contentImages contains url, alt, width, and height. contentStats contains wordCount, characterCount, and paragraphCount. comments contains id, parent, date, modified, author, content, link, status, and type when published.

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
recordTypeSummary record label, run-summary.
statusActor process outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
actorStatusCompatibility alias of status.
dataStatusCompleteness of saved articles: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
foundWhether the source returned at least one usable post.
dataAvailableWhether at least one article row was saved.
sourcePublic source description.
provenanceExtraction provenance label.
accessPolicyAccess boundary used for the run.
sourcesVisitedNumber of start URLs that produced a usable response.
pagesVisitedNumber of list pages requested.
filteredOutCountCandidates excluded by filters or limits.
itemCountArticle rows saved to the dataset.
itemsStoredCompatibility alias of itemCount.
articleCountArticle rows saved in the run.
diagnosticsStoredDiagnostic dataset rows; the Actor writes none, so this is 0.
diagnosticsObservedOperational issues observed during the run.
diagnosticCountNumber of operational issues recorded in the summary.
totalDatasetItemsTotal dataset rows after the run.
failedRequestCountRequests that failed after retries.
requestsPublic REST requests attempted.
successfulRequestsRequests that returned usable responses.
failedRequestsRequests that failed.
totalRequestAttemptsAll attempts, including retries.
httpStatusesHTTP status codes mapped to their counts.
detailRequestedNumber of records selected for detail enrichment.
detailSucceededDetail requests that succeeded.
detailFailuresDetail requests that failed.
filtersNormalized input values and the source mode used.
generatedByGenerator label recorded by the Actor.
completedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEArticles were saved without an extraction problem.
SUCCEEDEDPARTIALArticles were saved, but a later detail or comment request failed. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe source completed cleanly and returned no matching posts.
FAILEDFAILEDA fatal error occurred before any article was saved.

Example OUTPUT from the 2026-10-25 run:

{
"recordType": "run-summary",
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"actorStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"found": true,
"dataAvailable": true,
"source": "public WordPress REST API v2",
"provenance": "wordpress_rest_api_v2_embedded_v1",
"accessPolicy": "Public WordPress REST API responses only; no login, private content, CAPTCHA, paywall, or access-control bypass.",
"sourcesVisited": 1,
"pagesVisited": 1,
"filteredOutCount": 0,
"itemCount": 2,
"itemsStored": 2,
"articleCount": 2,
"diagnosticsStored": 0,
"diagnosticsObserved": 0,
"diagnosticCount": 0,
"totalDatasetItems": 2,
"failedRequestCount": 0,
"requests": 3,
"successfulRequests": 3,
"failedRequests": 0,
"totalRequestAttempts": 3,
"httpStatuses": {
"200": 3
},
"detailRequested": 2,
"detailSucceeded": 2,
"detailFailures": 0,
"filters": {
"startUrls": [
"https://developer.wordpress.org/news/"
],
"maxRequestsPerCrawl": 1,
"perPage": 2,
"offset": 0,
"maxItems": 2,
"timeoutMs": 30000,
"requestDelayMs": 500,
"maxResponseBytes": 5000000,
"retries": 1,
"sourceMode": "live"
},
"generatedBy": "OpenAI Codex with gpt-5.6-luna (max)",
"completedAt": "2026-10-25T20:46:49.035Z"
}

Coverage and limitations

The Actor discovers posts only through the public WordPress REST API v2 endpoints the target site exposes. It does not crawl the whole site, follow external article links, log in, or recover posts that the API hides. categories and tags are all-match filters; when several values are supplied, a post must carry every one of them. maxRequestsPerCrawl applies per start URL, while maxItems is global.

Detail enrichment is capped by maxDetailItems and only fills fields the selected post response exposes. Comments are available only when the embedded response includes actual public comments and includeComments is enabled; maxComments bounds what is retained. Some sites place a REST error object (for example rest_forbidden_param) in _embedded.replies instead of comments; in that case both comments and commentCount are omitted rather than counted as a comment. A site may disable the REST API, return a subset of fields, or block automated requests. Such outcomes are recorded in OUTPUT and logs; the Actor does not write diagnostic or placeholder dataset rows.

The proxyConfiguration field is accepted for compatibility but ignored. The Actor makes direct requests, so proxy rotation is not a supported feature. Public posts can change or be deleted after collection; saved rows reflect the response at run time.

Usage and support

Cost depends on Apify compute, the number of list pages, detail requests, comments, retries, and response sizes. Start with maxItems and maxRequestsPerCrawl near the defaults, then increase maxDetailItems or maxComments only when you need the extra fields. Set includeContentHtml to false to reduce row size when rendered HTML is not required. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by WordPress or any target site. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public posts can contain personal information; use the output only for lawful purposes.