getSalesTaxNexus
PREMIUM ONLY - requests on the free tier return an error. Returns economic nexus thresholds for US states. Call it with no sales figures as a reference lookup, or supply sales figures to get a determination. Omit the state parameter to evaluate all 50 states and DC in one call. Any 'nexus' or 'no...
This record as markdown: /tools/com-api-ninjas-mcp/getsalestaxnexus.md
What getSalesTaxNexus does on API Ninjas
AI agents call getSalesTaxNexus to retrieve information from API Ninjas without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
state | string | — | Two-letter US state code or full state name (e.g. CA or California). Omit to evaluate all 50 states and DC. |
revenue | number | — | Generic revenue figure. Use only when your figure is already stated on that state's own measure; otherwise prefer the specific parameters above. |
gross_sales | number | — | All sales delivered into the state, including taxable, exempt and resale sales. |
retail_sales | number | — | Sales delivered into the state excluding sales for resale. |
transactions | integer | — | Number of separate sales transactions delivered into the state. |
taxable_sales | number | — | Sales delivered into the state excluding both resale and exempt sales. |
marketplace_sales | number | — | The portion of the above sales that was facilitated by a marketplace. Required to get a definitive answer in states that exclude marketplace sales from the sell |
marketplace_transactions | integer | — | The portion of transactions facilitated by a marketplace. |
Parameters from the server's own tool schema.
Why getSalesTaxNexus is rated Low
Even though getSalesTaxNexus only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
The rule that runs getSalesTaxNexus safely
PolicyLayer is an MCP gateway: it sits between your AI agents and API Ninjas, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For getSalesTaxNexus, this is the rule to start with:
getSalesTaxNexus is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect API Ninjas, apply this rule, and every getSalesTaxNexus call is checked against it from then on.
Questions about getSalesTaxNexus
PREMIUM ONLY - requests on the free tier return an error. Returns economic nexus thresholds for US states. Call it with no sales figures as a reference lookup, or supply sales figures to get a determination. Omit the state parameter to evaluate all 50 states and DC in one call. Any 'nexus' or 'no_nexus' determination is provable from the figures supplied. Where the inputs cannot settle the question, the endpoint returns 'indeterminate' with a required_input array rather than guessing, because states measure different quantities: taxable sales are a subset of retail sales, which are a subset of gross sales. Economic nexus only. Physical presence is not evaluated. This is reference data, not tax advice. It is categorised as a Read tool in the API Ninjas MCP Server, which means it retrieves data without modifying state.
getSalesTaxNexus accepts 8 parameters: state, revenue, gross_sales, retail_sales, transactions, taxable_sales, marketplace_sales, marketplace_transactions. The full parameter table on this page comes from the server's own tool schema.
Register the API Ninjas MCP server in PolicyLayer and add a rule for getSalesTaxNexus: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches API Ninjas. Nothing to install.
getSalesTaxNexus is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the getSalesTaxNexus rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for getSalesTaxNexus. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
getSalesTaxNexus is provided by the API Ninjas MCP server (https://mcp.api-ninjas.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on API Ninjas, and thousands of servers like it.
This server
Across the catalogue