Discover/help.perforce.com API
live

help.perforce.com APIhelp.perforce.com

Access p4 command reference, client options, form fields, configurables, and documentation search for Perforce Helix Core via a structured API.

Endpoints
9
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/67011ff8-8139-4603-b730-d9cc70602c50/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/67011ff8-8139-4603-b730-d9cc70602c50/get_client_options_field' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 9 totalclick to expand

Returns all valid values for the Options field of a p4 client spec, including both affirmative and negated ([no]-prefixed) variants, along with their descriptions and defaults.

Input

No input parameters required.

Response
{
  "type": "array",
  "fields": {
    "option": "string — the option name (e.g. 'allwrite', 'noallwrite')",
    "default": "string — the default value for this option",
    "meaning": "string — description of what the option does",
    "raw_text": "string — the original option text including prefix notation (e.g. '[no]allwrite')"
  },
  "sample": {
    "data": [
      {
        "option": "allwrite",
        "default": "noallwrite",
        "meaning": "If allwrite is set, unopened files in the workspace are left writable.",
        "raw_text": "[no]allwrite"
      }
    ],
    "status": "success"
  }
}

About the help.perforce.com API

This API exposes 9 endpoints covering the Perforce Helix Core (P4) command reference documentation from help.perforce.com, returning structured data on command syntax, client spec fields, submit options, line ending modes, and server configurables. The get_command_page endpoint retrieves syntax, description, usage notes, options, and examples for any named p4 command, while get_configurables_reference returns all configurable names, defaults, scopes, and descriptions from the reference section.

Command Reference Access

The get_command_reference_index endpoint returns the full alphabetical list of p4 commands, each with a command name and a url pointing to its documentation page. From there, get_command_page accepts a command_name parameter (with or without the p4 prefix) and returns structured fields: syntax, description, options (an array of flag/description objects), usage_notes, and examples. Any field not present on a given command's page returns null.

Client Spec Details

Three endpoints dig into the p4 client specification. get_client_form_fields returns each field's field name, a type_hint (read-only, writable, or unknown), and its description. get_client_options_field returns each option as both affirmative and negated variants (e.g. allwrite / noallwrite), with default, meaning, and the raw_text prefix notation. get_client_submit_options and get_client_line_end_options cover the SubmitOptions and LineEnd spec fields respectively, with named option values and behavioral descriptions.

Configurables and Search

get_configurables_reference returns all P4 server, client, and proxy configurables, with each record including name, default, description, and a client_server_proxy scope indicator. The search_documentation endpoint accepts a query string and performs a token-based match against the documentation index, returning url, title, and abstract for matching topics. Note that search covers only the first three index chunks, so results may not include every documentation page.

Full Page Data

get_client_page returns the complete p4 client reference page as both parsed structured fields (syntax, form_fields, options, examples, description) and a full_html field containing the raw page body, useful when you need content not captured by the structured fields.

Common use cases
  • Build a CLI tool that looks up p4 command syntax and options programmatically using get_command_page.
  • Populate an internal wiki or developer portal with current p4 command descriptions and usage notes.
  • Validate client spec Options field values in automation scripts using the data from get_client_options_field.
  • Generate documentation for custom Perforce workflows by querying get_client_form_fields for field names and types.
  • Build a Perforce configurables reference browser using get_configurables_reference with scope and default value filtering.
  • Implement a documentation search feature for a Perforce-focused IDE plugin using search_documentation.
  • Audit workspace submit behavior by enumerating all SubmitOptions values and descriptions from get_client_submit_options.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Perforce provide an official developer API for help.perforce.com documentation?+
Perforce does not publish a public developer API for the help.perforce.com documentation site. The site is a standard documentation portal. The Perforce product itself has the P4 API and P4 Python bindings for interacting with Helix Core servers, but those are separate from the documentation content exposed here.
What does `get_command_page` return for a command that has no examples or usage notes?+
The examples and usage_notes fields return null when the documentation page for that command does not include those sections. The syntax and description fields also return null if absent. The options array will be empty rather than null when no flags are listed.
Does the search endpoint cover all P4 documentation pages?+
Not fully. search_documentation queries only the first three chunks of the client-side search index, so some documentation pages may not appear in results. The get_command_reference_index endpoint provides a complete list of command URLs and is a more reliable way to enumerate all commands. You can fork this API on Parse and revise it to load additional index chunks and extend search coverage.
Does the API cover documentation for Perforce products other than Helix Core (p4), such as Helix ALM or Hansoft?+
Not currently. All endpoints target the Helix Core P4 command reference sections of help.perforce.com. Helix ALM, Hansoft, and other Perforce product documentation are not covered. You can fork this API on Parse and revise it to add endpoints targeting those product documentation sections.
What is the `type_hint` field in `get_client_form_fields` and how reliable is it?+
The type_hint field is an inferred classification — read-only, writable, or unknown — derived from the documentation text for each field. It is a heuristic, not a formal schema attribute, so fields classified as unknown should be verified against the full description text before relying on them in automation.
Page content last updated . Spec covers 9 endpoints from help.perforce.com.
Related APIs in Developer ToolsSee all →
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
allaboutcircuits.com API
Access educational electronics content from All About Circuits, including technical articles, circuit diagrams, textbook volumes, and forum discussions organized by category. Search and browse the latest resources, view detailed articles, explore engineering tools, and find answers across their community forums.
bazaardb.gg API
Search and retrieve comprehensive data about The Bazaar game cards, including items, skills, merchants, trainers, monsters, and events with full details like tiers, attributes, enchantments, and tooltips. Quickly find the specific card information you need to optimize your gameplay strategy and deck building.
icons8.com API
Search for millions of icons across different visual styles like colorful, pattern-based, and minimalist designs to find the perfect icon for your project. Discover and retrieve icons in your preferred style to enhance your designs and applications.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
cursor.directory API
Search and discover AI cursor rules, MCP servers, and job listings organized by category to enhance your development workflow. Browse detailed information about each rule and server to find the tools and configurations that best fit your needs.
smstome.com API
Browse temporary phone numbers from countries around the world and read incoming SMS messages in real time. List available numbers by country, retrieve messages sorted newest to oldest, and search message history by sender or content.