npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-rest-wordpress

v0.1.0

Published

WordPress REST API nodes for n8n

Readme

n8n-nodes-wordpress

WordPress REST API nodes for n8n. This package provides a comprehensive set of nodes to interact with the WordPress REST API.

Features

This node provides access to all major WordPress REST API endpoints:

Resources

  • Posts - Create, read, update, delete posts
  • Pages - Manage WordPress pages
  • Categories - Organize content with categories
  • Tags - Tag content for better organization
  • Comments - Manage comments
  • Media - Upload and manage media files
  • Users - User management
  • Taxonomies - Access custom taxonomies
  • Post Types - Query custom post types
  • Post Statuses - Get available post statuses
  • Settings - Manage site settings
  • Themes - Theme information
  • Search - Search across all content
  • Block Types - WordPress block editor types
  • Blocks - Manage individual blocks
  • Plugins - Plugin information

Operations

Each resource supports:

  • Get Many - List items with pagination and filtering
  • Get - Retrieve specific item by ID
  • Create - Create new items
  • Update - Modify existing items
  • Delete - Remove items

Installation

  1. Install the package in your n8n instance:
npm install n8n-nodes-wordpress
  1. Restart n8n

  2. The WordPress nodes will be available in the node palette

Configuration

Credentials

Create WordPress API credentials:

  1. Base URL: Your WordPress site URL with /wp-json (e.g., https://yoursite.com/wp-json)
  2. Username: WordPress username (optional for public endpoints)
  3. Password: WordPress application password or REST API key (optional for public endpoints)

Node Configuration

  1. Resource: Select the WordPress resource you want to work with
  2. Operation: Choose the operation (Get Many, Get, Create, Update, Delete)
  3. Parameters: Configure operation-specific parameters

Usage Examples

Get All Posts

  • Resource: Post
  • Operation: Get Many
  • Set filters like status, search term, pagination

Create a New Post

  • Resource: Post
  • Operation: Create
  • Set title, content, status, categories, tags

Upload Media

  • Resource: Media
  • Operation: Create
  • Upload file, set alt text, caption

Search Content

  • Resource: Search
  • Operation: Get Many
  • Enter search query, filter by type

Authentication

The node supports WordPress REST API authentication:

  1. No Authentication - For public endpoints (get published posts, pages, etc.)
  2. Basic Authentication - Username + Application Password
  3. JWT Authentication (if your site supports it)

API Version

This node uses WordPress REST API v2 (/wp/v2/ endpoints).

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run linting
npm run lint

# Fix linting issues
npm run lintfix

# Format code
npm run format

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details.