Procore API Without the Pain: A CLI for the Rest of Us
Procore's API is powerful but complex. We built an open-source CLI that handles auth, pagination, and scoping so you can query project data in seconds.
Procore is the dominant construction management platform. Their API is comprehensive — projects, RFIs, submittals, budgets, schedules, daily logs, the whole project lifecycle. But if you’ve ever tried to use it, you know it’s not exactly a quick start.
OAuth2 with client credentials. Company-scoped vs. project-scoped endpoints. Pagination that works differently across resource types. Rate limiting. Token refresh. The documentation is decent but assumes deep familiarity with the platform.
For developers and automation engineers who just need to pull project data or feed Procore info into other systems, the ramp-up time is steep.
We built an open-source CLI to flatten it.
What the CLI Does
@opsrev/procore-cli gives you command-line access to the Procore API. Set your credentials, run a command, get JSON back.
npm install -g @opsrev/procore-cli
export PROCORE_CLIENT_ID="your-client-id"
export PROCORE_CLIENT_SECRET="your-client-secret"
export PROCORE_COMPANY_ID="your-company-id"
Then query away:
# List all projects
procore projects list
# Get details on a specific project
procore projects get 12847
# List RFIs for a project
procore rfis list --project-id 12847
# Pull budget line items
procore budget list --project-id 12847
# Get daily logs for a date
procore daily-logs list --project-id 12847 --date 2026-03-01
Every command outputs JSON. Pipe it to jq for filtering, feed it to scripts, or use it as input for other tools.
Common Use Cases
Reporting and Dashboards
Pull project data into your own reporting tools without building a full API integration:
procore projects list | jq '[.[] | {name, status, start_date}]'
Automated Monitoring
Script daily checks on open RFIs, overdue submittals, or budget variances. Run it on a cron job, pipe the output to Slack or email.
AI Agent Integration
This is what we built it for. Our AI agents use the Procore CLI to pull project context, check statuses, and feed construction data into operational workflows — all without browser automation or screen scraping.
Data Migration and Sync
Extract data from Procore in structured JSON for syncing with other systems. No CSV exports, no manual downloads.
What It Handles for You
- OAuth2 token management — pass your client credentials, the CLI handles token exchange and refresh
- Endpoint scoping — the CLI knows which endpoints need company IDs vs. project IDs and routes accordingly
- Pagination — list commands handle pagination internally, returning complete result sets
- Environment switching — test against Procore’s sandbox before running against production
Limitations
This CLI provides read access to core Procore resources. It doesn’t cover every endpoint in the Procore API — there are hundreds. We focused on the resources most commonly needed for operations automation: projects, directory, RFIs, submittals, daily logs, budgets, and schedules.
If you need an endpoint that isn’t covered, the CLI is open source — PRs are welcome.
Get Started
npm install -g @opsrev/procore-cli
procore --help
Source code and full documentation: github.com/opsrev/procore-cli
If you’re building on the Procore API and want to skip the boilerplate, this might save you a few days of setup.