# Get sentence embedding vector using API?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fget-sentence-embedding-vector-using-api%2F9881%3E%5C
**Category:** 🤗Transformers\
**Created:** [September 10, 2021, 11:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fget-sentence-embedding-vector-using-api%2F9881 "2021-09-10T11:37:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meysam5670](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Meysam5670](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMeysam5670)%5C
**Post date:** [September 10, 2021, 11:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fget-sentence-embedding-vector-using-api%2F9881%2F1 "2021-09-10T11:37:45Z")

</div>

The API return a number that shows the similarity of two sentences between 0 and 1, but I want to send the text to the API and get its embedding vector. Is there a way to do it?
