node-red-contrib-foxapis 0.1.0

Node-RED node for FoxAPIs: verified, sourced private raises (SEC Form D), layoff notices, executive changes, company search and federal contract awards. Every claim cited.

npm install node-red-contrib-foxapis

node-red-contrib-foxapis

A Node-RED node for FoxAPIs: verified, sourced answers, every claim cited. Each row carries its source link.

Five operations in one node:

  • Private raises (SEC Form D)
  • Layoff notices (state WARN notices and 8-K filings)
  • Executive changes (8-K Item 5.02)
  • Company search
  • Contract awards (US federal)

Install

In Node-RED: Menu, Manage palette, Install, search node-red-contrib-foxapis. Or from your user directory (usually ~/.node-red):

npm install node-red-contrib-foxapis

Restart Node-RED. The node appears as "FoxAPIs" in the network group.

Key

Get a free key at https://foxapis.com/trial?ref=node-red. Paste it into the FoxAPIs config node (stored as a Node-RED credential), or leave it empty and set the FOXAPIS_API_KEY environment variable.

Pricing: https://foxapis.com/pricing?ref=node-red

Use

Drop the node behind an Inject node, pick an operation, fill any filter fields. Rows come out as msg.payload (an array). msg.foxapis holds has_more, next_cursor, count, credits_charged, credits_remaining and the whole answer. An object in msg.payload overrides the editor fields, for example {"company":"Acme"}.

Only new rows: tick "Only rows new since the last run" on the raises and layoffs operations. The node keeps the cursor from the last run that returned rows (in its own node context) and asks for rows after it. A run that finds nothing returns no rows and is not charged. Tick "Send nothing when no rows come back" to keep empty runs from triggering the rest of the flow.

Example flows are in examples/ (Menu, Import, Examples once installed).

Tests

npm install
npm test            # 12 tests, network replaced
node scripts/real-call.js   # one real call, reads FOXAPIS_TEST_KEY from a .env file you point it at (FOXAPIS_ENV)

Docs: https://foxapis.com/docs?ref=node-red

MIT licence.

Node Info

Version: 0.1.0
Updated 1 day ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • foxapis-config
  • foxapis

Keywords

  • node-red
  • foxapis
  • form-d
  • layoffs
  • sec
  • sales-signals

Maintainers