# `match()`

Evaluates sObjects provided as an input for matches among Leads, using the matching rule specified in the input MatchOptions. This call can be used only with the Standard Matching Rule for Leads on Accounts.

This operation is available in API versions 42.0 and later, in **Professional**, **Enterprise**, **Performance**, and **Unlimited** Editions with **Pardot Pro** or **Pardot Ultimate** Edition.

## Syntax

```nolang
MatchResult[] callResults = connection.match(SObject[] inputSObjectArray, MatchOptions
   matchOptions);
```

## Arguments

| Name              | Type                                                                                   | Description                                                       |
| ----------------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| inputSObjectArray | Array of sObject                                                                       | A list of sObjects to evaluate for matches.                       |
| matchOptions      | [MatchOptions](/docs/platform/api/guide/sforce-api-calls-matchoptions.md#matchoptions) | Options, such as the match rule, used during the match operation. |

## Response

[MatchResult](/docs/platform/api/guide/sforce-api-objects-matchresult.md#matchresult)
