npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-tushare

v0.1.13

Published

n8n custom node for Tushare

Readme

n8n-nodes-tushare

English 中文文档

This is an n8n community node that allows you to use the Tushare API in your n8n workflows.

Tushare is a professional financial data platform that provides API services for financial data such as stocks, funds, futures, and foreign exchange. Through this node, you can easily obtain financial data such as stock quotes, company information, and financial data, and integrate it into your automated workflows.

n8n is a workflow automation platform with a fair-code license.

Installation
Operations
Credentials
Compatibility
Usage Instructions
Resources
Version History

Installation

Follow the installation guide in the n8n community nodes documentation.

Additionally, you can also refer to these n8n workflow templates.

Operations

This node supports the following operations:

  • API Calls: Call Tushare API to obtain financial data
  • Parameter Configuration: Supports both JSON format and individual parameter input methods
  • Data Transformation: Automatically processes API response data

Credentials

To use this node, you need:

  1. Register a Tushare Account: Visit Tushare official website to register an account
  2. Get API Token: Log in and obtain your API Token in the personal center
  3. Configure Credentials: Configure Tushare API credentials in n8n, enter your Token

Authentication Method

  • API Token Authentication: Use the Token you obtained from the Tushare platform for API calls

Compatibility

  • Minimum n8n version: 1.0.0
  • Node.js version: >=22.16
  • Tested versions: n8n 1.0.0+

Usage Instructions

Basic Configuration

  1. Add Tushare node to your workflow
  2. Configure Credentials: Select or create Tushare API credentials
  3. Set API Name: Enter the Tushare API name to call (such as: stock_company, daily, etc.)
  4. Configure Parameters: Choose parameter input method (JSON or individual parameters)

Parameter Configuration

JSON Mode:

{
  "offset": 0,
  "limit": 10,
  "ts_code": "000001.SZ"
}

Individual Parameter Mode:

  • Add parameter key-value pairs one by one
  • Supports dynamic value input

Common API Examples

  • Stock Basic Information: stock_company
  • Daily Quotes: daily
  • Financial Indicators: income
  • Company Announcements: anns

Data Output

The node will return the original response data from the Tushare API, which you can further process in subsequent nodes.

Resources

Version History

v0.1.x (Current Version)

  • Initial version release
  • Support for basic Tushare API calls
  • Support for both JSON and individual parameter input modes
  • Complete credential authentication system

Planned Features

  • Support for more Tushare API endpoints
  • Add data caching functionality
  • Optimize error handling mechanisms
  • Increase batch data processing capabilities

Note: Using this node requires a valid Tushare account and API Token. Please ensure compliance with Tushare's terms of use and API call limits.