OneKey Gateway
Use one access key to connect to various commercial APIs via the DeepNLP OneKey Agent Router.
Quick Start
Set your OneKey Access Key
shellexport DEEPNLP_ONEKEY_ROUTER_ACCESS=your_access_key
Common settings:
unique_id:aiagenta2z/financeagentapi_id:get_india_stock_market_nse_india
Tool
get_india_stock_market_nse_india
Get India stock market data (NSE India).
Parameters:
symbol_list(array of string, required): Stock symbols to query.- Use the NSE identifiers expected by the upstream data source, e.g.
"TM03","IT". - Example:
["TM03", "IT"]
- Use the NSE identifiers expected by the upstream data source, e.g.
Response (JSON):
success(boolean): Whether the request succeeded.data(array): List of stock quote objects (fields depend on the upstream data source).message(string, optional): Error message whensuccess=false.
Usage
CLI Usage
shell## install onekey agent gateway npm install @aiagenta2z/onekey-gateway ## CLI to Call API and Symbol List npx onekey agent aiagenta2z/financeagent get_india_stock_market_nse_india '{"symbol_list": ["TM03", "IT"]}'
HTTP (curl) Usage
shellexport DEEPNLP_ONEKEY_ROUTER_ACCESS=your_access_key curl -v -X POST "https://agent.deepnlp.org/agent_router" \ -H "Content-Type: application/json" \ -H "X-OneKey: $DEEPNLP_ONEKEY_ROUTER_ACCESS" \ -d '{ "unique_id": "aiagenta2z/financeagent", "api_id": "get_india_stock_market_nse_india", "data": { "symbol_list": ["TM03", "IT"] } }'


