> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sparq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started

> Discover the essentials of Sparq API, an advanced search solution for web and mobile applications. Learn about RESTful design, secure authentication with Bearer Tokens, and best practices for efficient API utilization.

# Sparq API: Elevate Your Search Experience

Welcome to the Sparq API Getting Started Guide, your gateway to integrating powerful search capabilities seamlessly into your applications. Sparq empowers you to revolutionize user experiences across websites, mobile apps, and enterprise software, with effortless integration and minimal IT involvement.

## Core Features of Sparq API

### RESTful API Design

The Sparq API follows RESTful principles, leveraging familiar HTTP verbs for intuitive interaction:

| Verb   | Description                                  |
| ------ | -------------------------------------------- |
| GET    | Retrieve data from Sparq.                    |
| POST   | Submit data, creating or updating resources. |
| PUT    | Update resources.                            |
| DELETE | Remove resources.                            |

### Cross-Origin Resource Sharing (CORS)

Sparq supports CORS, enabling seamless API interaction across domains, enhancing integration flexibility.

<Warning>
  Efficient API usage is vital, as each query impacts operational performance. Mindful usage ensures optimal resource utilization and performance.
</Warning>

## Securing Your API with Sparq Authentication

### Authentication Overview

Sparq utilizes Bearer Tokens for secure API access. Here's how to obtain and use these tokens for authenticated requests:

### Using Bearer Tokens

<Steps>
  <Step title="Obtain a Bearer Token">
    Authenticate with Sparq's server to acquire a token.
  </Step>

  <Step title="Include the Token in Your Requests">
    Add the Bearer Token to the Authorization header of your HTTP requests.
  </Step>
</Steps>

## Enhance Your Workflow with Sparq API

We leverage two APIs within our application:

1. [https://(app-unique-id).fast.sparq.ai/v2]() for searching data.
2. [https://api.sparq.ai/v2]() for indexing data.

These APIs seamlessly integrate into our workflow, offering unparalleled search capabilities and efficient data indexing.

## Conclusion

Sparq API offers a seamless path to integrating advanced search functionalities into your projects. By following our guide on RESTful design, CORS, and secure authentication with Bearer Tokens, you can elevate your applications' search functionality and security, ensuring an exceptional user experience.
