Post’s ID pattern?

Each auto-draft gets its own ID, each revision, each nav item, page, custom post type …

The actual ID of a post should be irrelevant, this is really just needed for the database and ugly permalinks.

You cannot get the last 30 items by inspecting the post ID only.

Install a REST API on the other site and a rule to get the last x items.