SureSMS Price API

The Price API from SureSMS — 1 operation(s) for price.

GitHub OpenAPI

Operations 1

GET /api/Price/{query} Query for estimated message price #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/suresms:suresms-price-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

suresms-price-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: RESTful API (JSON) Price API
  description: 'REST API is an easy and standardized way to work with SureSMS SMS gateway.

    The API uses RESTful protocol, OAuth2 (password) for authentication and responses are in JSON format.

    You can use JavaScript (and other programming languages) to GET (query), POST (send) or DELETE your messages.'
servers:
- url: https://apiv2.suresms.com/json
tags:
- name: Price
paths:
  /api/Price/{query}:
    get:
      tags:
      - Price
      summary: Query for estimated message price
      description: 'If you want to know the price before sending the message, query message price by supplying the example message (text, numbers etc.).

        Price calculation is based on several factors: Number of receipients, length (number of chars), content (charset), sender id, terminating network etc.'
      operationId: Price_Get
      parameters:
      - name: messageID
        in: query
        description: A unique message identifier supplied by the user which is used to track and query messages (maximum is 50 chars)
        required: true
        schema:
          type: string
      - name: messageText
        in: query
        description: The contents, text of the message (maximum is 4000 chars)
        required: true
        schema:
          type: string
      - name: toPhoneNumbers
        in: query
        description: Phone Number (or numbers) the message is sent to (the recipient). Numbers (if more than one) should be separated with the semicolon (';')
        required: true
        schema:
          type: string
      - name: senderID
        in: query
        description: "The name or alias of the sender that will actually be displayed on the receiving device. \n            The default 'account sender' will be used if no value is supplied"
        required: false
        schema:
          type: string
      - name: sendAsFlash
        in: query
        description: The message is delivered as a Flash message. The default value is 'False'
        required: false
        schema:
          type: boolean
      - name: hasCallBackURL
        in: query
        description: If supplied the URL will be invoked ('called') after the message is sent (or message has reached its destination?). The default is 'empty'
        required: false
        schema:
          type: string
      - name: requiredDeliveryUTCDateTime
        in: query
        description: Scheduled to be delivered at the specified UTC time. The default value is 'now' (immediate)
        required: false
        schema:
          type: string
          format: date-time
      - name: scheduleDaily
        in: query
        description: Scheduled to be delivered daily. The default value is 'false' (no scheduling)
        required: false
        schema:
          type: boolean
      - name: scheduleDailyExceptWeekend
        in: query
        description: Scheduled to be delivered on working days only. The default value is 'false' (no scheduling)
        required: false
        schema:
          type: boolean
      - name: scheduleWeekly
        in: query
        description: Scheduled to be delivered weekly. The default value is 'false' (no scheduling)
        required: false
        schema:
          type: boolean
      - name: scheduleMonthly
        in: query
        description: Scheduled to be delivered monthly. The default value is 'false' (no scheduling)
        required: false
        schema:
          type: boolean
      - name: scheduleYearly
        in: query
        description: Scheduled to be delivered every year. The default value is 'false' (no scheduling)
        required: false
        schema:
          type: boolean
      responses:
        '404':
          description: Not Found
        '200':
          description: Price successfully retrieved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
      deprecated: false
      security:
      - oauth2:
        - ''
components:
  schemas:
    Price:
      description: Price result object
      required:
      - Currency
      - PriceMember
      type: object
      properties:
        Currency:
          description: The 3 letter abbrevation for the Currency (e.g. "DKK", "EUR" or "USD")
          type: string
        PriceMember:
          format: double
          description: The price amount
          type: number
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        password:
          scopes:
            read: Read access to protected resources
            write: Write access to protected resources
          tokenUrl: json/token
      description: OAuth2 Password Grant