This guide explains how phpIP uses USPTO Open Data Portal (ODP) data together with EPO OPS for patent family import.
Beta status: USPTO ODP support is still experimental. Enabling it should not cause problems for the existing OPS import path, but USPTO ODP enrichment/fallback may not retrieve or normalize records correctly in all cases yet.
phpIP now uses a provider orchestrator (FamilyDataService) for family retrieval:
- Try EPO OPS first (existing behavior).
- If OPS succeeds, optionally enrich US members with USPTO ODP data (title/applicants/inventors/procedure).
- If OPS fails and the input document number looks US, try building a synthetic single-member US record from USPTO ODP.
This means you still use the same UI action:
Matters -> Create family from OPS
No new UI menu is required.
- Log in to phpIP.
- Open
Matters -> Create family from OPS. - Enter an EP, WO, or other OPS-supported publication/application number as before.
- For a family containing US applications, phpIP keeps the OPS family data and uses USPTO ODP to fill missing US title, applicant, inventor, or procedure details when ODP is enabled.
- For a US application where OPS cannot provide the family data, phpIP attempts to use USPTO ODP as a fallback source for a single US matter.
The feature is designed as an import enhancement, not a separate workflow. If USPTO ODP is disabled or unavailable, the existing OPS import flow continues to be used. While the USPTO ODP integration is in beta, failed or incomplete ODP retrieval should simply mean less enrichment data, not a broken OPS import.
Set the following variables in .env:
# Enable/disable USPTO enrichment/fallback
USPTO_ODP_ENABLED=true
# Optional API key (if your ODP dataset requires one)
USPTO_ODP_API_KEY=
# Optional override: USPTO API base URL (default already works for ODP)
# USPTO_ODP_BASE_URL=https://api.uspto.gov
# Optional overrides (advanced only)
# USPTO_ODP_APPLICATION_ENDPOINT=/api/v1/patent/applications/{applicationNumber}
# USPTO_ODP_SEARCH_ENDPOINT=/api/v1/patent/applications/search
USPTO_ODP_SEARCH_FIELD=applicationNumberTextThen clear Laravel config cache:
php artisan optimize:clearUSPTO support does not replace OPS setup. Keep OPS credentials configured:
OPS_APP_KEY=...
OPS_SECRET=...The orchestrator depends on OPS as the primary family source.
- Log in to phpIP.
- Open
Matters -> Create family from OPS. - Enter a document number from a family containing US members.
- Run import.
- Confirm that import no longer fails when OPS has sparse US party data.
If you have API access to USPTO ODP configured, US party/title/procedure fields may be enriched when missing in OPS.
Check:
USPTO_ODP_ENABLED=true- valid API key (if required by your account/product)
- API key requirements for your ODP dataset
- network egress to the endpoint host from your phpIP server
- Keep API keys in
.env, never in source files. - Restrict outbound network access from the server to approved API hosts only.
- Consider request logging/redaction policy for external API errors.