---
schema_version: "1"
id: db2bcd9b539a9f0032683ae14af8373b3b2950c0c96540e8ecf075871d2f9bfc
title: Search
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/api-rest/guides/resources/resources-search.md
canonical_url: https://developer.salesforce.com/docs/platform/api-rest/guide/resources-search.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bee5a8e53914bc88da15bee9ee483282adb59292bcf67504de5651569e119117
products:
  - REST API Developer Guide
  - Platform Developer Content
---

# Search

Executes the specified SOSL search. The search string must be URL-encoded.

For more information on SOSL see the [SOQL and SOSL Reference](http://www.salesforce.com/us/developer/docs/soql_sosl/index_Left.htm).

## Syntax

**URI:** `/services/data/vXX.X/search/?q=SOSL_searchString`

**Formats:** JSON, XML

**HTTP Method:** GET

**Authentication:** `Authorization: Bearer token`

**Parameters**

|Parameter|Description|
|---------|-----------|
|`q`|A SOSL statement that is properly URL-encoded.|

## Example

See [Search for a String](https://developer.salesforce.com/docs/platform/api-rest/do-me/dome-search.md).

