CrawlSprintSubmit URLsSign in
Menu

REST API quickstart

Create the right API key and run a request to publish a roundup, check a URL or send a verified site update.

Publish a public roundup

Share links from one or more sites on one public page. Sign in with email and create a key with roundups:write. This key needs no hostname.

Publish your first roundup

Check or submit your own URLs

Check for crawl issues or send page updates to participating search engines. Verify the exact hostname first. Submission receipts are private.

Set up a verified website

Publish your first roundup

  1. Create a roundup key

    Sign in and open API keys. Choose Publish roundups and report links by itself. Store the key as INDEXMENOW_ROUNDUP_KEY in your shell or secret store.

  2. Send the links and page details

    Replace the example links, title, slug and request ID. Include only URLs you have permission to share and set publicConsent to true.

  3. Open the published page

    HTTP 201 means your page is live at publicUrl. Save removalToken privately so you can manage the batch. The number in published tells you how many links went live.

Publish a roundup · cURL
curl --silent --show-error --fail-with-body "https://crawlsprint.daviddacruz.dev/api/v1/roundups" \
  -H "Authorization: Bearer $INDEXMENOW_ROUNDUP_KEY" \
  -H "Idempotency-Key: release-resources-example-v1" \
  -H "Content-Type: application/json" \
  --data '{
  "urls": [
    "https://example.com/guide/",
    "https://example.org/resources/"
  ],
  "publicConsent": true,
  "title": "Release resources",
  "slug": "release-resources"
}'
Published roundup · HTTP 201
{
  "published": 2,
  "publicUrl": "https://crawlsprint.daviddacruz.dev/p/release-resources",
  "title": "Release resources",
  "removalToken": "[private removal key]",
  "receiptEmail": "sent"
}

Use up to 100 public URLs per roundup. Omit title or slug for generated values. Custom titles are unique regardless of case and allow up to 90 characters. Custom slugs are unique, with 3–64 letters or numbers separated by single hyphens.

Use description for the visible summary and search and social metadata, up to 320 characters. Set imageUrl to a public HTTPS JPEG, PNG or WebP up to 5 MB, 4,096 pixels per side and 12 megapixels. Leave private links, access tokens and signatures out of the request.

Schedule a release

Add schedule.publishAt as a future UTC timestamp ending in Z. Add schedule.dailyLimit to split the links into releases 24 hours apart. Every release must fit within 30 days. For a multi-page schedule, omit custom page details and edit each page after it goes live.

HTTP 202 with scheduled and releases means the schedule was saved. Each release shows its planned time, URL and link count. HTTP 202 with status: "running" means the original request is still being processed. Retry the same request to read its result.

The page or schedule can be saved while receiptEmail is queued. Use the returned publicUrl and keep the removal key from the response. Retrying the original request with the same key retrieves the existing receipt.

Verify a website for checks and submissions

  1. Add the hostname your pages use

    Go to Websites. Add example.com and www.example.com separately if you work with both.

  2. Host and verify the file

    Download the verification file and serve it at the HTTPS address shown in Websites. Keep the name and contents as issued. CrawlSprint checks it again before sending each batch.

  3. Create a key for that hostname

    Open API keys and select the verified hostname. Choose Check public URLs for checks and Submit URLs to send updates or removals. Store the key as INDEXMENOW_SITE_KEY.

Check and submit verified-site URLs

Replace the example URL with a page on the key’s verified hostname. Run POST /api/v1/checks first and read results. A result with ready: true is eligible to send.

Check a URL · cURL
curl --silent --show-error --fail-with-body "https://crawlsprint.daviddacruz.dev/api/v1/checks" \
  -H "Authorization: Bearer $INDEXMENOW_SITE_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "urls": [
    "https://example.com/services/"
  ]
}'
Eligible page · HTTP 200
{
  "results": [
    {
      "url": "https://example.com/services/",
      "httpStatus": 200,
      "finalUrl": "https://example.com/services/",
      "redirects": 0,
      "noindex": false,
      "canonical": "https://example.com/services/",
      "outcome": "ok",
      "ready": true
    }
  ]
}

Submit the final URL once it returns HTTP 200–203 directly, has no noindex directive, and either has no canonical or declares itself. Redirects, invalid canonicals and incomplete page metadata need review. CrawlSprint checks the URLs and website file again before sending the batch.

Send an updated URL · cURL
curl --silent --show-error --fail-with-body "https://crawlsprint.daviddacruz.dev/api/v1/submissions" \
  -H "Authorization: Bearer $INDEXMENOW_SITE_KEY" \
  -H "Idempotency-Key: services-update-example-v1" \
  -H "Content-Type: application/json" \
  --data '{
  "urls": [
    "https://example.com/services/"
  ],
  "operation": "update"
}'
Read the receipt · cURL
curl --silent --show-error --fail-with-body "https://crawlsprint.daviddacruz.dev/api/v1/submissions/$RECEIPT_ID" \
  -H "Authorization: Bearer $INDEXMENOW_SITE_KEY"

Save id from the submission response and set RECEIPT_ID to that value to read it later. A receipt with status: "accepted" confirms the notification reached the search engine. Check the search engine’s own reporting tools to confirm crawl or indexing.

Read submission statuses

Send deleted URLs from your website

Use the same submission endpoint and include operation: "remove". Every URL must return HTTP 404 or 410 directly on the verified hostname. Give this removal batch its own idempotency key and read the receipt to confirm delivery.

Submit a deleted URL · cURL
curl --silent --show-error --fail-with-body "https://crawlsprint.daviddacruz.dev/api/v1/submissions" \
  -H "Authorization: Bearer $INDEXMENOW_SITE_KEY" \
  -H "Idempotency-Key: old-page-removal-example-v1" \
  -H "Content-Type: application/json" \
  --data '{
  "operation": "remove",
  "urls": [
    "https://example.com/old-page/"
  ]
}'

Keys, permissions and safe retries

  • Send an API key in the Authorization: Bearer header. Copy it when you create it. To rotate it, create a replacement, update your integration and revoke the old key.
  • roundups:write publishes and schedules public roundups, reads and edits roundups you own, and submits link reports. checks:read and submissions:write apply to the exact verified hostname selected for the key.
  • Use a new Idempotency-Key for each write. It must be 8–128 letters, numbers, periods, underscores, colons or hyphens. After a timeout, retry with the original credential, key and payload. Use a new key when the payload changes.
  • Use GET /api/v1/usage with either key to read your account’s allowance. To list or read private receipts, use a verified-site key with a check or submit permission.
Open API keys View allowance and rate limits

Edit a published roundup

Set ROUNDUP_SLUG to the last segment of the public URL. Read the roundup with an API key from its owner’s account and copy the returned revision, including null if it has never been edited.

Read a roundup and its revision · cURL
curl --silent --show-error --fail-with-body "https://crawlsprint.daviddacruz.dev/api/v1/roundups/$ROUNDUP_SLUG" \
  -H "Authorization: Bearer $INDEXMENOW_ROUNDUP_KEY"
Change a link’s display name · JSON
{
  "revision": null,
  "resourceNames": [
    {
      "url": "https://example.com/guide/",
      "name": "Release checklist"
    }
  ]
}

Copy the JSON into roundup-edit.json and replace the revision and URL with values from your read response. Set INDEXMENOW_REQUEST_ID to a unique key for the edit.

Save the edit · cURL
curl --silent --show-error --fail-with-body -X PATCH "https://crawlsprint.daviddacruz.dev/api/v1/roundups/$ROUNDUP_SLUG" \
  -H "Authorization: Bearer $INDEXMENOW_ROUNDUP_KEY" \
  -H "Idempotency-Key: $INDEXMENOW_REQUEST_ID" \
  -H "Content-Type: application/json" \
  --data @roundup-edit.json
  • Send the full replacement urls list and publicConsent: true when changing links. Use resourceNames with exact URLs and name: null to restore an automatic link name.
  • Omit a field to keep it. Use an empty string to restore the default title, slug, description or image. Description and image also accept null.
  • updated means the change was saved and the page timestamp was refreshed. unchanged means the supplied fields already matched. Previous slugs redirect to the current address.
  • On 409 roundup_changed, read the current revision and resubmit your changes with a new idempotency key.
Find your roundups in the workspace

Check a schedule or withdraw a batch

Use the last path segment of the first roundup URL as id. Use the receipt’s private removal key as the bearer credential.

POST /api/schedule-status lists releases and their status. POST /api/unpublish withdraws the published pages and cancels any pending releases.

Withdraw a batch · cURL
curl --silent --show-error --fail-with-body "https://crawlsprint.daviddacruz.dev/api/unpublish" \
  -H "Authorization: Bearer $INDEXMENOW_ROUNDUP_REMOVAL_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "id": "release-resources"
}'

Endpoint reference

Verified-site endpoints

  • POST /api/v1/checksCheck up to 10 URLs on one verified hostname. Requires checks:read.
  • POST /api/v1/submissionsSend up to 100 updated or removed URLs. Requires submissions:write and an idempotency key.
  • GET /api/v1/submissionsList up to 40 recent receipts for the key’s hostname.
  • GET /api/v1/submissions/{id}Read a private receipt by ID.
  • GET /api/v1/usageRead the account’s remaining URL allowance.

Public roundup endpoints

  • POST /api/v1/roundupsPublish or schedule a public page of links.
  • GET /api/v1/roundups/{slug}Read a roundup you own, including its current revision.
  • PATCH /api/v1/roundups/{slug}Edit a roundup you own.
  • POST /api/v1/link-reportsSend an individual link report to the moderator.
  • POST /api/schedule-statusCheck a schedule with the private removal key.
  • POST /api/unpublishWithdraw a batch with the private removal key.
Share

Share this page