1. Find the company’s name keys
Companies appear under several spellings, legal forms and scripts. Start with a phrase search in the registers you care about, and collect thename_key values of the owners that are the company:
name_key. Keep a reviewed list of keys per company, such as:
2. List the portfolio
Choose the filter by how complete the list must be:Python
requests sends a list value as a repeated parameter, so several keys are combined with OR.
3. Detect new filings
Store the set of ids from each run. On the next run, new ids are new filings or newly published records; ids that disappeared were transferred away, or removed by the office.Python
application_date_from since the last run? Offices publish filings late, some weeks or months after the filing date, so a record that appears today can carry an application date well before your last run. Comparing id sets catches it; a date filter would not.
4. Watch changes to the marks you found
To follow status and deadline changes in the portfolio, treat its ids like a docket: poll them in batches, or follow the changes feed for the registers involved. See Docketing sync.Watching a law firm
The same steps work for representatives, which helps a firm check that its own portfolio is recorded correctly at each office. Userepresentative_name_phrase to find the firm’s keys and representative_key (with up to 5 jurisdiction codes) to list its marks. Some offices record the attorney as the correspondent, which the representative filters include, and self-filed marks may list the owner itself as correspondent.