---
updatedAt: 2025-10-02T22:25:49.000Z
agentTools:
  projectIndex: https://developer.bill.com/v2/llms.txt
---

# Search BILL network for a customer or vendor

Search the BILL network for a customer, vendor, or verified national vendor. You can filter your search by name, account number, or zip code.

**Note**: `/v2/NetworkSearch.json` returns a maximum of 25 results.

### What is the BILL network?
The BILL network is a collection of customer organizations and vendor organizations using BILL. Network connections between customers and vendors enable electronic payments between them.

Verified national vendors include water, power, cable, and phone companies and are part of the BILL verified national vendor network. The BILL network includes the verified national vendor network.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "BILL network operations",
    "version": "2.0",
    "description": "BILL is a cloud-based cash flow management system for an organization's Accounts Payable (AP) and Accounts Receivable (AR) automation.\n * **AP**: Automate workflows to pay vendors bills at scale for the goods and services they provide. Pay vendors with a wide range of payment methods. Generate vendor credits, bill credits, and payment disbursement reports.\n * **AR**: Automate workflows to get paid by customers at scale for the goods and services you provide. Generate and send invoices on a schedule, generate customer and invoice credits, and seamlessly charge authorized customers.\n * **Organization**: Manage your bank accounts (for sending and receiving payments), users (with user roles), and sync with your choice of accounting software.\n\nIntegrate with the BILL API to send and receive payments for your business. See [Support Center](https://help.bill.com/hc/en-us) for resources about using the BILL web app.",
    "contact": {
      "email": "developerprogram@hq.bill.com"
    }
  },
  "servers": [
    {
      "url": "https://api-stage.bill.com/api/v2",
      "description": "Sandbox base URL"
    }
  ],
  "x-readme": {
    "samples-languages": [
      "curl",
      "java",
      "javascript",
      "python",
      "ruby"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "paths": {
    "/NetworkSearch.json": {
      "post": {
        "summary": "Search BILL network for a customer or vendor",
        "operationId": "network-networksearch",
        "description": "Search the BILL network for a customer, vendor, or verified national vendor. You can filter your search by name, account number, or zip code.\n\n**Note**: `/v2/NetworkSearch.json` returns a maximum of 25 results.\n\n### What is the BILL network?\nThe BILL network is a collection of customer organizations and vendor organizations using BILL. Network connections between customers and vendors enable electronic payments between them.\n\nVerified national vendors include water, power, cable, and phone companies and are part of the BILL verified national vendor network. The BILL network includes the verified national vendor network.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NetworkSearchResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "devKey",
                  "sessionId",
                  "data"
                ],
                "properties": {
                  "devKey": {
                    "type": "string",
                    "description": "Developer key generated with your BILL developer account"
                  },
                  "sessionId": {
                    "type": "string",
                    "description": "API session ID generated with [`/v2/Login.json`](ref:auth-login)"
                  },
                  "data": {
                    "$ref": "#/components/schemas/NetworkSearchRequest"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Network operations"
        ]
      },
      "parameters": []
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error_code": {
            "type": "string",
            "description": "Error code (only when `response_status` is `1`)"
          },
          "error_message": {
            "type": "string",
            "description": "Error message (only when `response_status` is `1`)"
          }
        }
      },
      "NetworkSearchRequest": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Customer or vendor organization name"
          },
          "accNumber": {
            "type": "string",
            "description": "Organization account number.\n* Bank account number for customer or vendor\n* Billing statement account number for verified national vendor "
          },
          "addressZip": {
            "type": "string",
            "description": "Organization zip code"
          },
          "networks": {
            "type": "array",
            "description": "List of networks to search. You can search in one or both networks.\n* Enter `0` for BILL network\n* Enter `1` for verified national vendor network",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "maxItems": 2,
            "example": [
              "0",
              "1"
            ]
          },
          "forVendor": {
            "type": "boolean",
            "description": "Search for a customer (`false`) or vendor (`vendor`)"
          }
        }
      },
      "NetworkSearchResponse": {
        "type": "object",
        "properties": {
          "response_status": {
            "type": "integer",
            "description": "Response status.\n* `0`: Success response\n* `1`: Error response. Only `error_code` and `error_message` is returned in `response_data`."
          },
          "response_message": {
            "type": "string",
            "description": "Response status.\n* `Success`: Success response\n* `Error`: Error response. Only `error_code` and `error_message` is returned in `response_data`."
          },
          "response_data": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              ],
              "type": "object",
              "properties": {
                "displayName": {
                  "type": "string",
                  "description": "Customer or vendor organization name"
                },
                "showDisplayNameInNetwork": {
                  "type": "boolean",
                  "description": "Set as `yes` if display name appears in the BILL network"
                },
                "type": {
                  "type": "string",
                  "description": "Network type.\n* `0`: BILL network\n* `1`: Verified national vendor network"
                },
                "networkId": {
                  "type": "string",
                  "description": "Organization Payment Network ID (PNI). BILL uses the PNI to uniquely identify the customer or vendor in the BILL network."
                },
                "addressLine1": {
                  "type": "string",
                  "description": "Address line 1 (BILL network type only)"
                },
                "addressCity": {
                  "type": "string",
                  "description": "Address city (BILL network type only)"
                },
                "addressState": {
                  "type": "string",
                  "description": "Address state (BILL network type only)"
                },
                "addressCountry": {
                  "type": "string",
                  "description": "Address country (BILL network type only)"
                },
                "addressZip": {
                  "type": "string",
                  "description": "Address zip code (BILL network type only)"
                },
                "verifiedEmailDomain": {
                  "type": "string",
                  "description": "BILL network verified email address"
                },
                "numberOfConnections": {
                  "type": "integer",
                  "description": "Number of existing BILL network connections"
                },
                "managedByName": {
                  "type": "string",
                  "description": "Organization managed by name (BILL network type only)"
                },
                "managedByEmail": {
                  "type": "string",
                  "description": "Organization managed by email (BILL network type only)"
                },
                "rank": {
                  "type": "integer",
                  "description": "Search result rank"
                },
                "matchScore": {
                  "type": "number",
                  "description": "Search result match score. Search results are ordered in the descending order of `matchScore`."
                },
                "accountType": {
                  "type": "string",
                  "description": "Account type (BILL network type only)\n* `none`\n* `business`\n* `person`"
                },
                "matchMode": {
                  "type": "string",
                  "description": "Search result match source"
                }
              }
            }
          }
        }
      }
    }
  }
}
```