# Horoscope API

## Get Horoscope

<mark style="color:blue;">`GET`</mark> `https://contentapi.celltick.com/mediaApi/v1.0/mid/horoscope`

Method returns horoscope items by date and language

#### Query Parameters

| Name        | Type    | Description                                                                                                                                     |
| ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| publishDate | string  | String Allows fetching horoscope for specific date. (today or 10 days in the past) Date/time format is: “MM/dd/yyyy”                            |
| language    | string  | 2 letter language code (ISO 639-1) Supported languages: (fr) - French (pt) -Portuguese (es) - Spanish (ru)- Russian (hi) - Hindi (en) - English |
| optOut      | boolean | String Allowed values are: true/false. Mandatory In case of android application                                                                 |
| aid         | string  | Mandatory In case of android application.                                                                                                       |
| userId      | string  | Source user id (UUID)                                                                                                                           |

{% tabs %}
{% tab title="200 " %}

```
{
    "totalItems": 12,
    "content": [
        {
            "contentId": "5bafbe59-fc07-463c-bf4a-c83db768ecd5",
            "pubDate": 1538524800000,
            "sign": "Aquarius",
            "translatedSign": "Aquarius",
            "description": "You feel a strong urge to relinquish the past and head in a new direction. You effectively communicate your ideas to others who seem more than willing to go along with your plans. Certain people however need further encouragement in order to be convinced, and the conversations you have help you with your deliberations and resolve outstanding issues.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Aquarius.png"
        },
        {
            "contentId": "a0611295-b65d-42dd-9466-54cf058e5289",
            "pubDate": 1538524800000,
            "sign": "Aries",
            "translatedSign": "Aries",
            "description": "You feel content, and personal problems which bother you are easily resolved. You’re encouraged to be more curious about new people, and a sense of adventure is rewarded with stimulating conversations and exciting experiences. Don't exhaust yourself, help build your body’s resistance the best way you’re able to, with regular sauna sessions or similar.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Aries.png"
        },
        {
            "contentId": "56026fdc-806f-47da-9a6b-f0ed3df5b935",
            "pubDate": 1538524800000,
            "sign": "Cancer",
            "translatedSign": "Cancer",
            "description": "Make the most of your relationship by spending perfect time with the person you love most of all. Take the opportunity to talk about any unresolved issues between you, and help strengthen your relationship for the future. If single, when it comes to love luck is on your side, this is a great time to introduce yourself to somebody new.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Cancer.png"
        },
        {
            "contentId": "504a4001-fec8-44ff-a3cd-72e69e1617de",
            "pubDate": 1538524800000,
            "sign": "Capricorn",
            "translatedSign": "Capricorn",
            "description": "You feel optimistic especially when meeting others; you’re relaxed and charming. These are ideal conditions for friendships and creating new ones. You can be adventurous, get out and meet people. At work, your approach to meetings and discussions is productive. In your personal life, you are most in your element when socializing with a group of people.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Capricorn.png"
        },
        {
            "contentId": "e0e1386e-e822-413d-acfd-e3d132861fb3",
            "pubDate": 1538524800000,
            "sign": "Gemini",
            "translatedSign": "Gemini",
            "description": "You make sense of complicated issues and use your perceptive mind to solve any difficult problems or to clarify plans you have for the future. Your welcoming attitude increases your popularity and makes it far easier for you to engage in conversations with likeminded people and perhaps even benefit from the development of a promising new partnership.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Gemini.png"
        },
        {
            "contentId": "80f3fbe2-4d30-489a-b067-0517d70ad3c3",
            "pubDate": 1538524800000,
            "sign": "Leo",
            "translatedSign": "Leo",
            "description": "The relationships within your close circle of friends deepen and lead to some unforgettable experiences. Especially in your most important relationships where you’re more closely bound, very positive processes built up over time come to fruition with incredible swiftness, cementing relationships even more. Accept everyone as they are, let the energy flow.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Leo.png"
        },
        {
            "contentId": "ccad2a6b-61fc-48fa-b43f-afd0b0d6974c",
            "pubDate": 1538524800000,
            "sign": "Libra",
            "translatedSign": "Libra",
            "description": "Regardless of an original approach to achieving success, your path becomes blocked. You were always on the right track and made good progress. With too many obstacles, it’s necessary to re-evaluate the situation and look at new possibilities. Change your approach and focus on the main task, then you are much closer to reaching your goal.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Libra.png"
        },
        {
            "contentId": "352b5197-50a2-4a59-83aa-8ee6e82bbe06",
            "pubDate": 1538524800000,
            "sign": "Pisces",
            "translatedSign": "Pisces",
            "description": "Don't think too much, instead imagine you’re stuck and you can only extricate yourself by making an energetic jump. As you do, momentous and enjoyable outcomes result. Other people prefer your warmth and understanding ways to a cool-headed approach and return this warmth. Be careful not to get engulfed by your overly passionate appetite for life.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Pisces.png"
        },
        {
            "contentId": "06555300-fc29-49d1-b743-6fd32786b60c",
            "pubDate": 1538524800000,
            "sign": "Sagittarius",
            "translatedSign": "Sagittarius",
            "description": "Your organizational skills are in demand, you utilize people’s ideas and accomplish a lot that has a positive effect on your self-confidence. With such a helpful approach, you’re able to bring different personalities together. Being as fit and preoccupied with others health as you are, don't forget to make improvements to your healthy lifestyle habits too.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Sagittarius.png"
        },
        {
            "contentId": "d4e9f21f-5883-477e-91b5-aae14589f532",
            "pubDate": 1538524800000,
            "sign": "Scorpio",
            "translatedSign": "Scorpio",
            "description": "Don’t underestimate the pleasure of a candlelit evening or breakfast in bed. Spending disproportionate amounts of money on luxury items does not always result in the corresponding amount of pleasure. A journey to the countryside helps you find what you need, reminding you of what’s important in life and what’s good for your body and soul.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Scorpio.png"
        },
        {
            "contentId": "41a575e2-9977-402d-a27d-debb076731fa",
            "pubDate": 1538524800000,
            "sign": "Taurus",
            "translatedSign": "Taurus",
            "description": "Feeling self-assured and composed, even if your life is usually more hectic and stressful, you now have room to breathe. But if you usually enjoy a peaceful life anyway, this is also a good time for you to contemplate things, appreciate relationships with friends and acquaintances or take advantage of opportunities that arise when you mix with others.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Taurus.png"
        },
        {
            "contentId": "4dd3ac80-69e4-41b4-98da-569ddaa628d1",
            "pubDate": 1538524800000,
            "sign": "Virgo",
            "translatedSign": "Virgo",
            "description": "You might become more aware of who your true friends are since you unexpectedly receive assistance from them. Be generous in the way you show your appreciation. You need to surprise them or present a gift to them in an original way. You’re working especially well with others, which is not only advantageous to you but benefits them too.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Virgo.png"
        }
    ],
    "backImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/bg.jpg"
}
```

{% endtab %}
{% endtabs %}

## Get Horoscope by Sign

<mark style="color:blue;">`GET`</mark> `https://contentapi.celltick.com/mediaApi/v1.0/mid/horoscope/{sign}`

Method returns specific sign item for date and language

#### Path Parameters

| Name | Type   | Description                                                                                                                         |
| ---- | ------ | ----------------------------------------------------------------------------------------------------------------------------------- |
| sign | string | Sign in English (see list of signs below): Aries Taurus Gemini Cancer Leo Virgo Libra Scorpio Sagittarius Capricorn Aquarius Pisces |

#### Query Parameters

| Name        | Type    | Description                                                                                                                                     |
| ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| publishDate | string  | Allows fetching horoscope for specific date. (today or 10 days in the past) Date/time format is: “MM/dd/yyyy”                                   |
| language    | string  | 2 letter language code (ISO 639-1) Supported languages: (fr) - French (pt) -Portuguese (es) - Spanish (ru)- Russian (hi) - Hindi (en) - English |
| optOut      | boolean | Allowed values are: true/false Mandatory In case of android application                                                                         |
| aid         | string  | Mandatory In case of android application                                                                                                        |
| userId      | string  | Source user id (UUID)                                                                                                                           |

{% tabs %}
{% tab title="200 " %}

```
{
    "totalItems": 1,
    "content": [
        {
            "contentId": "e0e1386e-e822-413d-acfd-e3d132861fb3",
            "pubDate": 1538524800000,
            "sign": "Gemini",
            "translatedSign": "Gemini",
            "description": "You make sense of complicated issues and use your perceptive mind to solve any difficult problems or to clarify plans you have for the future. Your welcoming attitude increases your popularity and makes it far easier for you to engage in conversations with likeminded people and perhaps even benefit from the development of a promising new partnership.",
            "signImageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60,w_600,h_600/horoscope/Gemini.png"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
