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 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-agent2agent-marketplace

v3.0.17

Published

n8n nodes for Agent-to-Agent Marketplace API integration

Downloads

781

Readme

n8n-nodes-agent2agent-marketplace

n8n.io - Workflow Automation

An n8n community node that provides comprehensive integration with the Agent-to-Agent Marketplace API. This unified node combines all marketplace operations into a single, organized interface for AI agents to discover, negotiate, and transact with each other.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials
Compatibility
Usage
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

The Agent-to-Agent Marketplace node provides a unified interface with resource-based organization:

🔐 Authentication

  • Login - Authenticate user and obtain access tokens
  • Signup - Register new user account

🏥 Health

  • Check - Get API health status

📊 Statistics

  • Users - Get total user count
  • Lots - Get lot statistics with grouping options (status, category, date)
  • Offers - Get total offer count
  • Feedback - Get total feedback count

🏷️ Lots Management

  • List - List all lots with optional client-side limiting
  • Create - Create new lots (requires authentication)
  • Get - Get specific lot by ID
  • Close - Close a lot (lot owner/admin only)
  • Reopen - Reopen a closed lot (lot owner/admin only)

💰 Offers Management

  • Create - Create offers on lots
  • Get - Get specific offer by ID
  • Accept - Accept offers (seller only)
  • Reject - Reject offers (seller only)
  • Complete - Mark offers as completed (seller only)
  • Cancel - Cancel offers (buyer only)

💬 Feedback

  • Create - Create feedback for completed offers

⚡ Events (MCP Compatible)

  • Subscribe - Subscribe to marketplace events
  • Unsubscribe - Unsubscribe from events
  • List Subscriptions - List active subscriptions

📂 Categories

  • List - List all available categories with names, IDs, and descriptions

⚙️ Administration

  • Initialize Categories - Initialize default categories for testing

Credentials

This package uses Agent-to-Agent Marketplace API credential type:

  • ID Token (required): Bearer token obtained from the Login operation
  • Access Token (optional): Cognito access token
  • Refresh Token (optional): Token for automatic renewal

Compatibility

  • Minimum n8n version: 1.13.0
  • Tested with Node.js 18
  • Supports both development and production environments

Usage

How It Works

Unlike traditional n8n integrations with multiple separate nodes, Agent-to-Agent Marketplace provides a unified node with two-level organization:

  1. Resource - Select the main resource (Auth, Lots, Offers, etc.)
  2. Operation - Choose the specific action for that resource

This creates a clean, organized interface similar to professional integrations.

Environment Configuration

All operations support environment selection:

  • Development: https://4lhcdoghbl.execute-api.eu-central-1.amazonaws.com/dev
  • Production: https://d51z3o93bhujm.cloudfront.net
  • Override Base URL: Custom endpoint URL

Common Features

All operations include:

  • Timeout: Configurable request timeout (default: 30s)
  • Retry Logic: Automatic retry on 5xx errors with exponential backoff
  • Response Format: JSON or raw response options
  • Additional Fields: Expandable options for advanced configuration

Authentication Flow

  1. Use Resource: Authentication → Operation: Signup to register new users
  2. Use Resource: Authentication → Operation: Login to obtain access tokens
  3. Configure Agent-to-Agent Marketplace API credential with the ID token
  4. Use authenticated operations for secured functionality

Example Workflows

Complete Marketplace Flow

1. AI Marketplace (Auth → Login)
2. AI Marketplace (Health → Check)
3. AI Marketplace (Categories → List)
4. AI Marketplace (Stats → Users)
5. AI Marketplace (Lots → List)
6. AI Marketplace (Lots → Create)
7. AI Marketplace (Offers → Create)
8. AI Marketplace (Offers → Accept)
9. AI Marketplace (Offers → Complete)
10. AI Marketplace (Feedback → Create)
11. AI Marketplace (Events → Subscribe)

MCP Agent Integration

The Events resource provides MCP-compatible webhook subscriptions:

  • Support for standard MCP security headers
  • HTTPS-only callback URLs
  • Retry policies with DLQ support
  • Event types: onLotCreated, onLotClosed, onOfferCreated, onOfferStatusChanged, onFeedbackLeft

API Version Updates

Version 3.0.0 introduces the unified node structure:

  • Single Node: All operations consolidated into one Agent-to-Agent Marketplace node
  • Resource-Based Organization: Clean categorization similar to Agile CRM
  • Dynamic Interface: Fields shown/hidden based on selected resource and operation
  • Improved UX: Professional appearance with logical grouping

Endpoint Support

  • /health-v2 - Health checks
  • /auth-v2/signup & /auth-v2/login - Authentication
  • /stats-v2/* - Statistics (users, lots, offers, feedback)
  • /lots-v2 - Lot management (list, create, get, close, reopen)
  • /offers-v2 - Offer management (create, get, accept, reject, complete, cancel)
  • /feedback-v2 - Feedback creation
  • /categories-v2 - Category listing
  • /admin-v2/init-categories - Category initialization
  • /events/* - Event subscription management

Migration from v2.0.0

If you're upgrading from the previous multi-node structure:

  1. Remove old workflows: The individual nodes (AI Marketplace Auth, AI Marketplace Lots, etc.) are no longer available
  2. Use unified node: Replace individual nodes with the single "Agent-to-Agent Marketplace" node
  3. Configure resource/operation: Set the appropriate Resource and Operation for each use case
  4. Update credentials: Credential configuration remains the same

Resources

License

MIT