WordPress Tool

WordPress Post ID Finder

Paste one or more WordPress URLs to retrieve their Post / Page IDs instantly.

0 URLs
Processing… 0 / 0
πŸ’‘ Queries the WordPress REST API. Works on any public WordPress site (REST API is on by default since WP 4.7). If a browser security restriction blocks a direct call, the tool automatically retries via a free CORS proxy. Learn more / Troubleshoot ↓
How It Works / Troubleshooting

Step 1 β€” Direct REST API β€” The tool calls yoursite.com/wp-json/wp/v2/posts?slug=your-slug directly. This works when the WordPress site allows cross-origin requests (most do).

Step 2 β€” CORS Proxy fallback β€” If the direct call is blocked by the browser's same-origin policy, the tool retries via corsproxy.io (a free, open-source proxy). This resolves the vast majority of CORS issues.

"Not Found" β€” REST API returned an empty result. The post may be a draft, the slug may differ, or it's a custom post type not registered in the REST API.

"Blocked" β€” Both direct and proxy requests failed. The site has fully disabled its REST API (e.g., via a security plugin like Wordfence), or is behind aggressive bot protection (Cloudflare).

Results
0 found 0 not found 0 blocked
URL Post ID Type Status

What Is a WordPress Post ID?

Every piece of content in WordPress β€” posts, pages, custom post types β€” is assigned a unique numeric ID. This Post ID is used in WordPress URLs, REST API calls, database queries, and many plugins. Knowing the Post ID of a page is essential for developers and advanced WordPress users.

How to Find a WordPress Post ID Without This Tool

Method How to Do It Requires
WordPress Admin Hover over post in Posts list β€” ID appears in URL Admin access
REST API yourdomain.com/wp-json/wp/v2/posts?slug=your-slug Public access
Edit Screen Open the post editor β€” ID is in the browser URL Admin access
This Tool Paste the URL β€” ID fetched automatically Just the URL

Why Do You Need the WordPress Post ID?

How This WordPress ID Finder Works

This tool queries the WordPress REST API endpoint (/wp-json/wp/v2/) using the slug extracted from your URL. It tries both the posts and pages endpoints automatically. If direct access is blocked by CORS, it falls back to a proxy. The process typically takes 1–3 seconds per URL.