Documentation

Developer integration guide

Integrate official published Ministry of Commerce records into your workflow. Every result includes its data period and lookup time.

API DocsChoose a capability

Choose a capability

Help business customers enter a CR or unified number, review published company details and fill your form. Choose your integration below; the endpoint reference and advanced workflows remain available in the navigation.

Choose your integration

Get Saudi CR Pro Business Forms on WordPress.org

Explore a specific workflow

Server setup

Production API base: https://saudicrpro.com/api. Copy your default key when issued, or generate a named key in your dashboard. Keep it in the SCR_API_KEY server environment variable and send it in one header—never expose it in a browser. Set SCR_ORIGIN=https://saudicrpro.com, without /api; the request below uses that public production origin by default. The number is fictional; 404 is a valid absent-record outcome.

# Set these securely on your server; do not commit the key.
# Public production origin; override only for a separately configured staging service.
SCR_ORIGIN="${SCR_ORIGIN:-https://saudicrpro.com}"
: "${SCR_API_KEY:?Set SCR_API_KEY}"
curl --silent --show-error --fail-with-body \
  --connect-timeout 5 --max-time 10 \
  "$SCR_ORIGIN/api/v1/lookup/7001234567" \
  -H "Authorization: Bearer $SCR_API_KEY"
# Non-2xx: curl exits nonzero and prints the error body.
# Network/timeout failure is not a missing business.
Getting started checklist0/6