PSIC industrial classification search
search_psic_codesSearch Philippine Standard Industrial Classification (PSIC) codes by keyword or numeric prefix. Returns matching codes and descriptions.
Instructions
Find a PSIC code by description keyword or by code prefix.
Matches a query of only digits against the PSIC code prefix. Matches any other query by whole-word text against the class description, case-insensitive. PSA publishes the full table (roughly 1,360 rows) on one page, so the first call fetches and caches it for 24 hours. Examples:
search_psic_codes("rice") every description with "rice" as a whole word search_psic_codes("0111") every code that starts with "0111" search_psic_codes("mining", limit=5) at most 5 matches
On failure: data_status is "invalid_request" for an empty, over-long, or non-printable query, or for a limit outside 1-100. A Cloudflare challenge in place of the table gives "unavailable". A missing, empty, or partial PSIC table gives "indeterminate". Neither failure is cached, and the real error sits in caveats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matches to return (1-100). | |
| query | Yes | Digits for a code-prefix match, or text for a whole-word match against the description, case-insensitive. 1 to 100 printable characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||